diff options
author | Timothy Pearson <[email protected]> | 2013-08-08 00:45:07 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-08-08 00:45:07 -0500 |
commit | 6a40ac081b1f96db4764803305fa442f25b5069e (patch) | |
tree | b3a75677b465d8768859a076e7fb1c1f9c2e00d1 /kdesktop/lock/main.cc | |
parent | da560698f1098a4ebca54ead7436110003f2a716 (diff) | |
download | tdebase-6a40ac081b1f96db4764803305fa442f25b5069e.tar.gz tdebase-6a40ac081b1f96db4764803305fa442f25b5069e.zip |
Ensure screen is fully hidden before returning from kdestop lock dcop call
Diffstat (limited to 'kdesktop/lock/main.cc')
-rw-r--r-- | kdesktop/lock/main.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc index f6fbc20b2..497a602ff 100644 --- a/kdesktop/lock/main.cc +++ b/kdesktop/lock/main.cc @@ -454,10 +454,8 @@ int main( int argc, char **argv ) } bool rt; - bool sig = false; if( (((!child) && (args->isSet( "forcelock" ))) || (signalled_forcelock == TRUE))) { rt = process.lock(); - sig = true; } else if( child || (args->isSet( "dontlock" ) || (signalled_dontlock == TRUE))) { rt = process.dontLock(); @@ -478,12 +476,6 @@ int main( int argc, char **argv ) return 0; } - if( sig ) - { - DCOPRef ref( "kdesktop", "KScreensaverIface"); - ref.send( "saverLockReady" ); - } - if (in_internal_mode == FALSE) { trinity_desktop_lock_hidden_window_list.clear(); int ret = app.exec(); |