diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-03 20:56:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-03 20:56:33 +0000 |
commit | 7b12a18bb964683b857ca2250db3919303a99838 (patch) | |
tree | 1a2215bcfa2bdb06cac04a103d2d9e3617852212 /kdecore/netwm.cpp | |
parent | b1960071ca0d9303610b4afd8c07afdf1f091756 (diff) | |
download | tdelibs-7b12a18bb964683b857ca2250db3919303a99838.tar.gz tdelibs-7b12a18bb964683b857ca2250db3919303a99838.zip |
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
Diffstat (limited to 'kdecore/netwm.cpp')
-rw-r--r-- | kdecore/netwm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 ) |