diff options
Diffstat (limited to 'libkscreensaver')
-rw-r--r-- | libkscreensaver/kscreensaver.cpp | 4 | ||||
-rw-r--r-- | libkscreensaver/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libkscreensaver/kscreensaver.cpp b/libkscreensaver/kscreensaver.cpp index 92aa8f931..2b45c9a0f 100644 --- a/libkscreensaver/kscreensaver.cpp +++ b/libkscreensaver/kscreensaver.cpp @@ -55,7 +55,7 @@ KScreenSaver::KScreenSaver( WId id ) : TQWidget() if ( id ) { #ifdef Q_WS_X11 //FIXME - XGetGeometry(qt_xdisplay(), (Drawable)id, &root, &ai, &ai, + XGetGeometry(tqt_xdisplay(), (Drawable)id, &root, &ai, &ai, &w, &h, &au, &au); #endif @@ -79,7 +79,7 @@ void KScreenSaver::embed( TQWidget *w ) { KApplication::sendPostedEvents(); #ifdef Q_WS_X11 //FIXME - XReparentWindow(qt_xdisplay(), w->winId(), winId(), 0, 0); + XReparentWindow(tqt_xdisplay(), w->winId(), winId(), 0, 0); #endif w->setGeometry( 0, 0, width(), height() ); KApplication::sendPostedEvents(); diff --git a/libkscreensaver/main.cpp b/libkscreensaver/main.cpp index e80dd6bff..0ff7c0a1b 100644 --- a/libkscreensaver/main.cpp +++ b/libkscreensaver/main.cpp @@ -127,7 +127,7 @@ KDE_EXPORT int main(int argc, char *argv[]) #ifdef Q_WS_X11 //FIXME if (args->isSet("root")) { - saveWin = RootWindow(qt_xdisplay(), qt_xscreen()); + saveWin = RootWindow(tqt_xdisplay(), tqt_xscreen()); } #endif |