summaryrefslogtreecommitdiffstats
path: root/tdecore/twin.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 10:54:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-23 10:54:32 +0900
commit73dba53e4a36a31d7c803806706cc8a17a245e5c (patch)
tree699ac927ebddcdf6ab2aa6a8c19e06127b9d7e8b /tdecore/twin.cpp
parent80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee (diff)
downloadtdelibs-73dba53e4a36a31d7c803806706cc8a17a245e5c.tar.gz
tdelibs-73dba53e4a36a31d7c803806706cc8a17a245e5c.zip
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/twin.cpp')
-rw-r--r--tdecore/twin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/twin.cpp b/tdecore/twin.cpp
index 308da8c5a..7b59ef7d4 100644
--- a/tdecore/twin.cpp
+++ b/tdecore/twin.cpp
@@ -239,7 +239,7 @@ void KWin::activateWindow( WId win, long time )
#ifdef Q_WS_X11
NETRootInfo info( tqt_xdisplay(), 0 );
if( time == 0 )
- time = GET_QT_X_USER_TIME();
+ time = get_tqt_x_user_time();
info.setActiveWindow( win, NET::FromApplication, time,
kapp->activeWindow() ? kapp->activeWindow()->winId() : 0 );
#endif // Q_WS_X11 ...
@@ -251,7 +251,7 @@ void KWin::forceActiveWindow( WId win, long time )
#ifdef Q_WS_X11
NETRootInfo info( tqt_xdisplay(), 0 );
if( time == 0 )
- time = GET_QT_X_TIME();
+ time = get_tqt_x_time();
info.setActiveWindow( win, NET::FromTool, time, 0 );
#endif // Q_WS_X11
KUniqueApplication::setHandleAutoStarted();