summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/lock')
-rw-r--r--kdesktop/lock/lockprocess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index f4b6278f5..aa68ba1a0 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -1747,6 +1747,7 @@ void LockProcess::suspend()
else {
TQString hackStatus;
mHackProc.kill(SIGSTOP);
+ mSuspended = true;
#if 0
// wait for the stop signal to take effect
while (hackStatus != "T") {
@@ -1769,7 +1770,6 @@ void LockProcess::suspend()
TQApplication::syncX();
mSavedScreen = TQPixmap::grabWindow( winId());
}
- mSuspended = true;
}
void LockProcess::resume( bool force )