summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-01 05:08:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-01 05:08:39 +0000
commit0d9a6be5785791ac0e91c5f6746d12f0fc5d2d4e (patch)
tree9e4ef1dfa84500174c6d12a015c20586636d82d8 /kdm
parentcbb186912dae337ea11a79544b4a79bb3e69e9aa (diff)
downloadtdebase-0d9a6be5785791ac0e91c5f6746d12f0fc5d2d4e.tar.gz
tdebase-0d9a6be5785791ac0e91c5f6746d12f0fc5d2d4e.zip
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
Diffstat (limited to 'kdm')
-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 );