summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-25 11:40:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-25 11:41:27 +0900
commitf2bf94b366d43702cceafdf40b4f73c71730323a (patch)
tree1f0ea71202c7f3b016e55056e26c89f1bb8fdbd9 /kdesktop
parent1e85af2eb209953b29be43aec2cc7070e044fec5 (diff)
downloadtdebase-issue/662/test.tar.gz
tdebase-issue/662/test.zip
Intermediate test 3issue/662/test
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/lockeng.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/kdesktop/lockeng.cpp b/kdesktop/lockeng.cpp
index 5d40e3425..4e3899c8f 100644
--- a/kdesktop/lockeng.cpp
+++ b/kdesktop/lockeng.cpp
@@ -732,16 +732,16 @@ void SaverEngineEventHandler::lockCompleted()
{
kdDebug(1204) << "SaverEngineEventHandler: lock completed" << endl;
- if (trinity_lockeng_sak_available)
- {
- startSAKProcess();
- }
if (m_state == Waiting)
{
return;
}
m_state = Waiting;
+ if (trinity_lockeng_sak_available)
+ {
+ startSAKProcess();
+ }
TQTimer::singleShot(0, m_saverEngine, TQ_SLOT(stopLockProcessGUI()));
}
@@ -797,6 +797,9 @@ void SaverEngineEventHandler::saveScreen()
void SaverEngineEventHandler::slotLockProcessExited()
{
+ // Clean up status after the lock process has exited
+ lockCompleted();
+
m_lockProcessRestarting = true;
bool abnormalExit = false;