From 51a20070fd51c4ce4eca550fd458b7223bee662a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 8 Jan 2014 03:21:58 -0600 Subject: 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 --- kdesktop/lockeng.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kdesktop/lockeng.h') 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 -- cgit v1.2.1