summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-08-23 20:09:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-08-27 23:32:31 +0900
commitb45b9ed9b12d8f05237f52b00a8d61cff1d53806 (patch)
tree039eedd1d9804a9d72b0031524d108685dca7b29 /ksmserver/server.cpp
parent0d29e4477a5dd74762f5eb57f13914761c8beae6 (diff)
downloadtdebase-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.cpp')
-rw-r--r--ksmserver/server.cpp6
1 files changed, 6 insertions, 0 deletions
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;
+}