summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-10 22:32:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-10 22:32:00 +0000
commit1f40ada72d693d681ec6a32c2ef717e8dd73b5bb (patch)
tree54c647b881fd1f91a9cd4390237ec0a8888a8f34 /ksmserver/server.cpp
parent29570c5acb30252e5db7552b89150035bbdd9409 (diff)
downloadtdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.tar.gz
tdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.zip
Force windows with the modal system notification atom set to stay above other windows
Enhance logout sequence appearance Add remote folder synchronization on logout support Fix flickering to black window with subsequent partial repaint of certain widgets occurring during fancy logout sequence git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r--ksmserver/server.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp
index ce118a529..003abf3af 100644
--- a/ksmserver/server.cpp
+++ b/ksmserver/server.cpp
@@ -913,7 +913,18 @@ bool KSMServer::isWM( const TQString& program ) const
// therefore make sure it's recognized even if ksmserver
// was initially started with different WM, and kwin replaced
// it later
- return program == wm || program == "kwin";
+ return ((program == wm) || (program == "kwin"));
+}
+
+bool KSMServer::isCM( const KSMClient* client ) const
+{
+ return isCM( client->program());
+}
+
+bool KSMServer::isCM( const TQString& program ) const
+{
+ // Returns true if the program in question is a composition manager
+ return (program == "kompmgr");
}
bool KSMServer::defaultSession() const