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/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'kwin/main.cpp') diff --git a/kwin/main.cpp b/kwin/main.cpp index ee1f66c68..a65a32431 100644 --- a/kwin/main.cpp +++ b/kwin/main.cpp @@ -36,8 +36,6 @@ License. See the file "COPYING" for the exact licensing terms. #undef INT8 #undef INT32 -extern Time qt_x_time; - namespace KWinInternal { @@ -148,7 +146,7 @@ Application::~Application() delete Workspace::self(); if( owner.ownerWindow() != None ) // if there was no --replace (no new WM) { - XSetInputFocus( qt_xdisplay(), PointerRoot, RevertToPointerRoot, qt_x_time ); + XSetInputFocus( qt_xdisplay(), PointerRoot, RevertToPointerRoot, GET_QT_X_TIME() ); DCOPRef ref( "kded", "kded" ); if( !ref.send( "loadModule", TQCString( "kdetrayproxy" ))) kdWarning( 176 ) << "Loading of kdetrayproxy failed." << endl; -- cgit v1.2.1