summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-26 20:00:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-26 20:00:48 +0000
commitb544d338ecf10ede35f1e3eab65efa62bcf02d7e (patch)
treefc77d337145a9db491c762a104102974ffb6ffb2
parentd6306f938c39a07b7c5570af22d6d8cf430d8d94 (diff)
downloadtdebase-b544d338ecf10ede35f1e3eab65efa62bcf02d7e.tar.gz
tdebase-b544d338ecf10ede35f1e3eab65efa62bcf02d7e.zip
Fix kdm themed dialog position on screen
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249608 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kdm/kfrontend/kgapp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp
index 8dea3c904..fac8f003c 100644
--- a/kdm/kfrontend/kgapp.cpp
+++ b/kdm/kfrontend/kgapp.cpp
@@ -327,12 +327,13 @@ kg_main( const char *argv0 )
if (!tgrt->isOK()) {
delete tgrt;
dialog = new KStdGreeter;
+ dialog->move(primaryScreenPosition.x(), primaryScreenPosition.y());
}
XSetErrorHandler( (XErrorHandler)0 );
} else {
dialog = new KStdGreeter;
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
}
- dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
TQPoint oldCursorPos = TQCursor::pos();
TQCursor::setPos(oldCursorPos.x() + primaryScreenPosition.x(), oldCursorPos.y() + primaryScreenPosition.y());
if (*_preloader) {