diff options
author | Timothy Pearson <[email protected]> | 2013-04-24 20:22:40 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-24 20:22:40 -0500 |
commit | 1c7bdfda1e7c768525a73d1ca104db53ff1cec10 (patch) | |
tree | 337a38f3dc8ee913fe51d9a786d2a4ec8f132bcb /ksmserver/server.cpp | |
parent | be61b99598ba2717e7764ed8c2b16aa4675a221c (diff) | |
download | tdebase-1c7bdfda1e7c768525a73d1ca104db53ff1cec10.tar.gz tdebase-1c7bdfda1e7c768525a73d1ca104db53ff1cec10.zip |
Fix long delay at session termination on certain systems
This resolves Bug 760
Add shutdown profiling code and disable at compile time
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r-- | ksmserver/server.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index 9b49ac43c..780213897 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -928,6 +928,16 @@ bool KSMServer::isCM( const TQString& program ) const return (program == "kompmgr"); } +bool KSMServer::isNotifier( const KSMClient* client ) const +{ + return isNotifier( client->program()); +} + +bool KSMServer::isNotifier( const TQString& program ) const +{ + return (program == "knotify"); +} + bool KSMServer::defaultSession() const { return sessionGroup.isEmpty(); |