summaryrefslogtreecommitdiff
path: root/src/x11extras/qx11info_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11extras/qx11info_x11.cpp')
-rw-r--r--src/x11extras/qx11info_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11extras/qx11info_x11.cpp b/src/x11extras/qx11info_x11.cpp
index db3c0a1..cb534b7 100644
--- a/src/x11extras/qx11info_x11.cpp
+++ b/src/x11extras/qx11info_x11.cpp
@@ -145,7 +145,7 @@ int QX11Info::appDpiY(int screen)
\sa QApplication::desktop()
*/
-Qt::HANDLE QX11Info::appRootWindow(int screen)
+unsigned long QX11Info::appRootWindow(int screen)
{
if (!qApp)
return 0;
@@ -160,7 +160,7 @@ Qt::HANDLE QX11Info::appRootWindow(int screen)
QDesktopWidget *desktop = QApplication::desktop();
QWindow *window = desktop->windowHandle();
#endif
- return Qt::HANDLE(window->winId());
+ return window->winId();
}
/*!