diff options
Diffstat (limited to 'kscreensaver/xsavers/saver.cpp')
-rw-r--r-- | kscreensaver/xsavers/saver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kscreensaver/xsavers/saver.cpp b/kscreensaver/xsavers/saver.cpp index 9af37da0..1c11fd73 100644 --- a/kscreensaver/xsavers/saver.cpp +++ b/kscreensaver/xsavers/saver.cpp @@ -16,14 +16,14 @@ kScreenSaver::kScreenSaver(Drawable drawable) : TQObject() unsigned int au; mDrawable = drawable; - mGc = XCreateGC(qt_xdisplay(), mDrawable, 0, 0); - XGetGeometry(qt_xdisplay(), mDrawable, &root, &ai, &ai, + mGc = XCreateGC(tqt_xdisplay(), mDrawable, 0, 0); + XGetGeometry(tqt_xdisplay(), mDrawable, &root, &ai, &ai, &mWidth, &mHeight, &au, &au); } kScreenSaver::~kScreenSaver() { - XFreeGC(qt_xdisplay(), mGc); + XFreeGC(tqt_xdisplay(), mGc); } //----------------------------------------------------------------------------- |