summaryrefslogtreecommitdiffstats
path: root/kdesktop/lockeng.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-01-08 03:21:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-01-08 03:21:58 -0600
commit51a20070fd51c4ce4eca550fd458b7223bee662a (patch)
tree678874c0e963ba24982639bcdbb289c167badf87 /kdesktop/lockeng.h
parente990ea9964a738dd0714874a2c42ff874aae7495 (diff)
downloadtdebase-51a20070fd51c4ce4eca550fd458b7223bee662a.tar.gz
tdebase-51a20070fd51c4ce4eca550fd458b7223bee662a.zip
Fix screen sometimes not being hidden on power management action or desktop switch
Handle kdesktop_lock termination in a more sane manner by simply relaunching it if possible
Diffstat (limited to 'kdesktop/lockeng.h')
-rw-r--r--kdesktop/lockeng.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdesktop/lockeng.h b/kdesktop/lockeng.h
index ec0a7bf52..b211c73e9 100644
--- a/kdesktop/lockeng.h
+++ b/kdesktop/lockeng.h
@@ -81,6 +81,7 @@ public:
public slots:
void slotLockProcessWaiting();
void slotLockProcessFullyActivated();
+ void slotLockProcessReady();
protected slots:
void idleTimeout();
@@ -95,6 +96,10 @@ private slots:
* Enable wallpaper exports
*/
void enableExports();
+ void recoverFromHackingAttempt();
+
+private:
+ bool restartDesktopLockProcess();
protected:
enum LockType { DontLock, DefaultLock, ForceLock, SecureDialog };
@@ -125,6 +130,7 @@ protected:
private:
TDEProcess* mSAKProcess;
bool mTerminationRequested;
+ bool mSaverProcessReady;
};
#endif