diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 10:49:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-23 11:01:41 +0900 |
commit | bf17c1e94003579e5275d8519fe7144c2caeb52c (patch) | |
tree | df2780659ea95d52d294a0a42b096abf6553c5db /twin/tabbox.cpp | |
parent | 7272c289be1517c4a4b6ccd35c9d64f8a657593d (diff) | |
download | tdebase-bf17c1e94003579e5275d8519fe7144c2caeb52c.tar.gz tdebase-bf17c1e94003579e5275d8519fe7144c2caeb52c.zip |
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 81ad1f9e3c9d494edc38a7aad96fdcab9d44a795)
Diffstat (limited to 'twin/tabbox.cpp')
-rw-r--r-- | twin/tabbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twin/tabbox.cpp b/twin/tabbox.cpp index 1cf0fb8c2..bec7cce97 100644 --- a/twin/tabbox.cpp +++ b/twin/tabbox.cpp @@ -708,7 +708,7 @@ void TabBox::delayedShow() void TabBox::handleMouseEvent( XEvent* e ) { - XAllowEvents( tqt_xdisplay(), AsyncPointer, GET_QT_X_TIME() ); + XAllowEvents( tqt_xdisplay(), AsyncPointer, get_tqt_x_time() ); if( e->type != ButtonPress ) return; TQPoint pos( e->xbutton.x_root, e->xbutton.y_root ); @@ -866,7 +866,7 @@ void Workspace::slotWalkThroughWindows() return; if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable()) { - //XUngrabKeyboard(tqt_xdisplay(), GET_QT_X_TIME()); // need that because of accelerator raw mode + //XUngrabKeyboard(tqt_xdisplay(), get_tqt_x_time()); // need that because of accelerator raw mode // CDE style raise / lower CDEWalkThroughWindows( true ); } @@ -1360,7 +1360,7 @@ Client* Workspace::previousStaticClient( Client* c ) const bool Workspace::establishTabBoxGrab() { if( XGrabKeyboard( tqt_xdisplay(), root, FALSE, - GrabModeAsync, GrabModeAsync, GET_QT_X_TIME()) != GrabSuccess ) + GrabModeAsync, GrabModeAsync, get_tqt_x_time()) != GrabSuccess ) return false; // Don't try to establish a global mouse grab using XGrabPointer, as that would prevent // using Alt+Tab while DND (#44972). However force passive grabs on all windows @@ -1376,7 +1376,7 @@ bool Workspace::establishTabBoxGrab() void Workspace::removeTabBoxGrab() { - XUngrabKeyboard(tqt_xdisplay(), GET_QT_X_TIME()); + XUngrabKeyboard(tqt_xdisplay(), get_tqt_x_time()); assert( forced_global_mouse_grab ); forced_global_mouse_grab = false; if( active_client != NULL ) |