summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-01-08 03:21:58 -0600
committerTimothy Pearson <[email protected]>2014-01-08 03:21:58 -0600
commit51a20070fd51c4ce4eca550fd458b7223bee662a (patch)
tree678874c0e963ba24982639bcdbb289c167badf87 /kdesktop/lock/lockprocess.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/lock/lockprocess.h')
-rw-r--r--kdesktop/lock/lockprocess.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h
index 50fd447bc..dc14aa676 100644
--- a/kdesktop/lock/lockprocess.h
+++ b/kdesktop/lock/lockprocess.h
@@ -151,6 +151,7 @@ private:
void showVkbd();
void hideVkbd();
void saverReady();
+ void saverReadyIfNeeded();
bool forwardVkbdEvent( XEvent* event );
void sendVkbdFocusInOut( WId window, Time t );
void windowAdded( WId window, bool managed );
@@ -238,6 +239,8 @@ private:
int m_dialogPrevX;
int m_dialogPrevY;
+ bool m_notifyReadyRequested;
+
TQWidget* m_maskWidget;
Window m_saverRootWindow;