summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/random.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp
index cd984a145..d4b90b037 100644
--- a/kscreensaver/random.cpp
+++ b/kscreensaver/random.cpp
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
if (args->isSet("root"))
{
- windowId = RootWindow(qt_xdisplay(), qt_xscreen());
+ windowId = RootWindow(tqt_xdisplay(), tqt_xscreen());
}
KGlobal::dirs()->addResourceType("scrsav",
@@ -250,10 +250,10 @@ int main(int argc, char *argv[])
// If we end up here then we couldn't start a saver.
// If we have been supplied a window id or root window then blank it.
- Window win = windowId ? windowId : RootWindow(qt_xdisplay(), qt_xscreen());
- XSetWindowBackground(qt_xdisplay(), win,
- BlackPixel(qt_xdisplay(), qt_xscreen()));
- XClearWindow(qt_xdisplay(), win);
+ Window win = windowId ? windowId : RootWindow(tqt_xdisplay(), tqt_xscreen());
+ XSetWindowBackground(tqt_xdisplay(), win,
+ BlackPixel(tqt_xdisplay(), tqt_xscreen()));
+ XClearWindow(tqt_xdisplay(), win);
}