From b45b9ed9b12d8f05237f52b00a8d61cff1d53806 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 23 Aug 2015 20:09:06 +0900 Subject: 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 --- ksmserver/server.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ksmserver/server.cpp') diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index f09dcd9df..505865c54 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -592,6 +592,7 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag state = Idle; dialogActive = false; saveSession = false; + m_startupCompleted = false; wmPhase1WaitingCount = 0; TDEConfig* config = TDEGlobal::config(); config->setGroup("General" ); @@ -990,3 +991,8 @@ bool KSMServer::defaultSession() const { return sessionGroup.isEmpty(); } + +bool KSMServer::startupCompleted() +{ + return m_startupCompleted; +} -- cgit v1.2.1