From e057cf9e08ab13e3f6ed139f6b0be3a06c2ec20c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 3 Apr 2011 23:58:37 +0000 Subject: Wean kdebase off of hacky static qt_x_*_tim variables git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227011 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/manage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'kwin/manage.cpp') 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(); -- cgit v1.2.3