summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {