summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:15:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-07 20:15:55 -0600
commitcd1ba8979ec258531a20ff013df01aa9bf645184 (patch)
tree5851cf32b3b351107978e1364f237631728133d6
parent16806f8b43bc9ba8881a1f8154831ecb0206a4ce (diff)
downloadkgtk-qt3-cd1ba8979ec258531a20ff013df01aa9bf645184.tar.gz
kgtk-qt3-cd1ba8979ec258531a20ff013df01aa9bf645184.zip
Rename kwin to twin (part 1 of 2)
-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)