summaryrefslogtreecommitdiffstats
path: root/kwin/manage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/manage.cpp')
-rw-r--r--kwin/manage.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/kwin/manage.cpp b/kwin/manage.cpp
index c50a504d0..3df18027e 100644
--- a/kwin/manage.cpp
+++ b/kwin/manage.cpp
@@ -25,8 +25,6 @@ License. See the file "COPYING" for the exact licensing terms.
#include "rules.h"
#include "group.h"
-extern Time qt_x_time;
-
namespace KWinInternal
{
@@ -522,9 +520,9 @@ bool Client::manage( Window w, bool isMapped )
if( user_time == CurrentTime || user_time == -1U ) // no known user time, set something old
{
- user_time = qt_x_time - 1000000;
+ user_time = GET_QT_X_TIME() - 1000000;
if( user_time == CurrentTime || user_time == -1U ) // let's be paranoid
- user_time = qt_x_time - 1000000 + 10;
+ user_time = GET_QT_X_TIME() - 1000000 + 10;
}
updateWorkareaDiffs();