From 5f8d730703882e1335305a2c43a378f0c4b96e8e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 22 Jan 2012 01:17:21 -0600 Subject: Fix desktop lock --- kdesktop/lock/lockprocess.cc | 2 ++ kdesktop/lock/main.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'kdesktop/lock') diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 2588bbfea..5acc96e23 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -630,6 +630,8 @@ void LockProcess::startSecureDialog() return; } + setGeometry(0, 0, mRootWidth, mRootHeight); + int ret; SecureDlg inDlg( this ); inDlg.setRetInt(&ret); diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc index 2711c36c5..c0b8e2480 100644 --- a/kdesktop/lock/main.cc +++ b/kdesktop/lock/main.cc @@ -181,14 +181,14 @@ int main( int argc, char **argv ) rt = process.runSecureDialog(); } else { - return 1; + return 0; } } else { rt = process.defaultSave(); } if (!rt) { - return 1; + return 0; } if( sig ) -- cgit v1.2.1