From 7b12a18bb964683b857ca2250db3919303a99838 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 3 Apr 2011 20:56:33 +0000 Subject: Wean kdelibs off of the qt_x_*_time static variables git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226986 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/netwm.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kdecore/netwm.cpp') diff --git a/kdecore/netwm.cpp b/kdecore/netwm.cpp index 64c6aab2b..6ca557532 100644 --- a/kdecore/netwm.cpp +++ b/kdecore/netwm.cpp @@ -1600,9 +1600,8 @@ void NETRootInfo::updateSupportedProperties( Atom atom ) p->properties[ PROTOCOLS2 ] |= WM2FullPlacement; } -extern Time qt_x_user_time; void NETRootInfo::setActiveWindow(Window window) { - setActiveWindow( window, FromUnknown, qt_x_user_time, None ); + setActiveWindow( window, FromUnknown, GET_QT_X_USER_TIME(), None ); } void NETRootInfo::setActiveWindow(Window window, NET::RequestSource src, @@ -1811,7 +1810,7 @@ void NETRootInfo::moveResizeWindowRequest(Window window, int flags, int x, int y void NETRootInfo::restackRequest(Window window, Window above, int detail) { - restackRequest( window, FromTool, above, detail, qt_x_user_time ); + restackRequest( window, FromTool, above, detail, GET_QT_X_USER_TIME() ); } void NETRootInfo::restackRequest(Window window, RequestSource src, Window above, int detail, Time timestamp ) -- cgit v1.2.1