summaryrefslogtreecommitdiffstats
path: root/kdialogd3/kdialogd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdialogd3/kdialogd.cpp')
-rw-r--r--kdialogd3/kdialogd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdialogd3/kdialogd.cpp b/kdialogd3/kdialogd.cpp
index 41d2fcf..fad4ea0 100644
--- a/kdialogd3/kdialogd.cpp
+++ b/kdialogd3/kdialogd.cpp
@@ -11,7 +11,7 @@
#include <kconfig.h>
#include <kurlcombobox.h>
#ifdef USE_KWIN
-#include <kwin.h>
+#include <twin.h>
#else
#include <X11/Xlib.h>
#endif
@@ -485,14 +485,14 @@ void KDialogDClient::initDialog(const TQString &caption, KDialogBase *d, unsigne
#else
XWindowAttributes attr;
int rx, ry;
- Window junkwin;
+ Window juntwin;
XSetTransientForHint(qt_xdisplay(), itsDlg->winId(), xid);
if(XGetWindowAttributes(qt_xdisplay(), xid, &attr))
{
XTranslateCoordinates(qt_xdisplay(), xid, attr.root,
-attr.border_width, -16,
- &rx, &ry, &junkwin);
+ &rx, &ry, &juntwin);
rx=(rx+(attr.width/2))-(itsDlg->width()/2);
if(rx<0)