summaryrefslogtreecommitdiffstats
path: root/twin/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/utils.cpp')
-rw-r--r--twin/utils.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/twin/utils.cpp b/twin/utils.cpp
index e7e5c7d32..bc44eee56 100644
--- a/twin/utils.cpp
+++ b/twin/utils.cpp
@@ -37,10 +37,6 @@ License. See the file "COPYING" for the exact licensing terms.
#include "atoms.h"
#include "notifications.h"
-#ifdef USE_QT4
-#include <Qt/qx11info_x11.h>
-#endif // USE_QT4
-
#endif
namespace KWinInternal
@@ -278,7 +274,7 @@ void updateXTime()
XCheckIfEvent( tqt_xdisplay(), &dummy, update_x_time_predicate, NULL );
}
assert( next_x_time != CurrentTime );
- SET_QT_X_TIME(next_x_time);
+ set_tqt_x_time(next_x_time);
XEvent ev; // remove the PropertyNotify event from the events queue
XWindowEvent( tqt_xdisplay(), w->winId(), PropertyChangeMask, &ev );
}