diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-23 20:09:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-27 23:32:31 +0900 |
commit | b45b9ed9b12d8f05237f52b00a8d61cff1d53806 (patch) | |
tree | 039eedd1d9804a9d72b0031524d108685dca7b29 /ksmserver/server.h | |
parent | 0d29e4477a5dd74762f5eb57f13914761c8beae6 (diff) | |
download | tdebase-b45b9ed9b12d8f05237f52b00a8d61cff1d53806.tar.gz tdebase-b45b9ed9b12d8f05237f52b00a8d61cff1d53806.zip |
Added DCOP method startupCompleted() to KSMServer: this allows to check whether the
session has been fully created/restored. This relates to bug 1610.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksmserver/server.h')
-rw-r--r-- | ksmserver/server.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ksmserver/server.h b/ksmserver/server.h index bc677752c..a90ef43ac 100644 --- a/ksmserver/server.h +++ b/ksmserver/server.h @@ -61,6 +61,7 @@ k_dcop: void autoStart2Done(); void kcmPhase1Done(); void kcmPhase2Done(); + bool startupCompleted(); public: KSMServer( const TQString& windowManager, const TQString& windowManagerAddArgs, bool only_local ); ~KSMServer(); @@ -181,7 +182,7 @@ private: TQString windowWmClientMachine(WId w); WId windowWmClientLeader(WId w); TQCString windowSessionId(WId w, WId leader); - + bool checkStartupSuspend(); void finishStartup(); void resumeStartupInternal(); @@ -235,6 +236,7 @@ private: TQTimer startupSuspendTimeoutTimer; bool waitAutoStart2; bool waitKcmInit2; + bool m_startupCompleted; TQTimer pendingShutdown; TDEApplication::ShutdownConfirm pendingShutdown_confirm; TDEApplication::ShutdownType pendingShutdown_sdtype; |