summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdm/kfrontend/kgapp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp
index fac8f003c..03bc361c2 100644
--- a/kdm/kfrontend/kgapp.cpp
+++ b/kdm/kfrontend/kgapp.cpp
@@ -327,6 +327,9 @@ kg_main( const char *argv0 )
if (!tgrt->isOK()) {
delete tgrt;
dialog = new KStdGreeter;
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
+ }
+ else {
dialog->move(primaryScreenPosition.x(), primaryScreenPosition.y());
}
XSetErrorHandler( (XErrorHandler)0 );