From 0d9a6be5785791ac0e91c5f6746d12f0fc5d2d4e Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 1 Sep 2011 05:08:39 +0000 Subject: Fix kdm startup position in unthemed fallback mode git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1250663 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/kgapp.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kdm/kfrontend/kgapp.cpp') 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 ); -- cgit v1.2.1