diff options
Diffstat (limited to 'karm')
-rw-r--r-- | karm/idletimedetector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karm/idletimedetector.cpp b/karm/idletimedetector.cpp index bd0b253c2..03aba9216 100644 --- a/karm/idletimedetector.cpp +++ b/karm/idletimedetector.cpp @@ -16,7 +16,7 @@ IdleTimeDetector::IdleTimeDetector(int maxIdle) #ifdef HAVE_LIBXSS kdDebug(5970) << "IdleTimeDetector: LIBXSS detected @ compile time" << endl; int event_base, error_base; - if(XScreenSaverQueryExtension(qt_xdisplay(), &event_base, &error_base)) + if(XScreenSaverQueryExtension(tqt_xdisplay(), &event_base, &error_base)) { _idleDetectionPossible = true; } @@ -45,7 +45,7 @@ void IdleTimeDetector::check() if (_idleDetectionPossible) { _mit_info = XScreenSaverAllocInfo (); - XScreenSaverQueryInfo(qt_xdisplay(), qt_xrootwin(), _mit_info); + XScreenSaverQueryInfo(tqt_xdisplay(), tqt_xrootwin(), _mit_info); int idleSeconds = (_mit_info->idle/1000); if (idleSeconds >= _maxIdle) informOverrun(idleSeconds); |