summaryrefslogtreecommitdiffstats
path: root/src/modules/my
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/my')
-rw-r--r--src/modules/my/idle_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/my/idle_x11.cpp b/src/modules/my/idle_x11.cpp
index af29801e..77caef53 100644
--- a/src/modules/my/idle_x11.cpp
+++ b/src/modules/my/idle_x11.cpp
@@ -101,7 +101,7 @@ int IdlePlatform::secondsIdle()
#ifdef COMPILE_USE_QT4
if(!XScreenSaverQueryInfo(TQT_TQPAINTDEVICE(TQApplication::desktop()->screen())->x11Display(), QX11Info::appRootWindow(), d->ss_info))
#else
- if(!XScreenSaverQueryInfo(TQT_TQPAINTDEVICE(TQApplication::desktop()->screen())->x11Display(), qt_xrootwin(), d->ss_info))
+ if(!XScreenSaverQueryInfo(TQT_TQPAINTDEVICE(TQApplication::desktop()->screen())->x11Display(), tqt_xrootwin(), d->ss_info))
#endif
return 0;
return d->ss_info->idle / 1000;