diff options
author | Michele Calgaro <[email protected]> | 2016-03-13 07:02:13 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-03-13 07:02:13 +0100 |
commit | ab959b43ca0d41104fc828e0a0b57cc8a6c5108c (patch) | |
tree | 9c09a01f8dd70cbc7d3a9dabf7ab964022ffa0c1 | |
parent | 71bd29a534261d3ac976a4f2fb2c953172d165b5 (diff) | |
download | tdebase-ab959b43ca0d41104fc828e0a0b57cc8a6c5108c.tar.gz tdebase-ab959b43ca0d41104fc828e0a0b57cc8a6c5108c.zip |
Fixed desktop locking code. This relates to bug 2603 and fixes the locking-after-suspend issue when the screensaver is also enabled.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | kdesktop/lockeng.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc index 0c7558f9b..8aa6bb61c 100644 --- a/kdesktop/lockeng.cc +++ b/kdesktop/lockeng.cc @@ -283,7 +283,7 @@ void SaverEngine::lockScreen(bool DCOP) } bool ok = true; - if (mState != Saving) + if (mState == Waiting) { ok = startLockProcess( ForceLock ); // It takes a while for kdesktop_lock to start and lock the screen. |