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 11:01:54 +0900
commite84b6d8935842fb8dcee9dc42f8f35f36ee72748 (patch)
tree87bd11a4de4520261dadaef71da17259e870db02 /tdecore/twin.cpp
parent3373b45cc2adb7d46c45c3da06f64d5db24cb468 (diff)
downloadtdelibs-e84b6d8935842fb8dcee9dc42f8f35f36ee72748.tar.gz
tdelibs-e84b6d8935842fb8dcee9dc42f8f35f36ee72748.zip
Replaced time related '#define' with actual strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 73dba53e4a36a31d7c803806706cc8a17a245e5c)
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();