summaryrefslogtreecommitdiffstats
path: root/kdecore/netwm.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 20:56:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 20:56:33 +0000
commit7b12a18bb964683b857ca2250db3919303a99838 (patch)
tree1a2215bcfa2bdb06cac04a103d2d9e3617852212 /kdecore/netwm.cpp
parentb1960071ca0d9303610b4afd8c07afdf1f091756 (diff)
downloadtdelibs-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.cpp5
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 )