diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-09 02:03:42 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-09 02:03:42 +0000 |
commit | f5f0024b74d1bb0eb94937f3dc175d2b682617c2 (patch) | |
tree | 3a0ae78b135c013360df101cf7fd8a3374d0e43a /ksmserver/shutdown.cpp | |
parent | 5a63d5945b2f886322c3ed6f5561822bcb1ed6fa (diff) | |
download | tdebase-f5f0024b74d1bb0eb94937f3dc175d2b682617c2.tar.gz tdebase-f5f0024b74d1bb0eb94937f3dc175d2b682617c2.zip |
Add new _KDE_WM_MODAL_SYS_NOTIFICATION atom to disable menu/close/on-all-desktops buttons
Improve the appearance of the TDE logout sequence using the new atom
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252231 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver/shutdown.cpp')
-rw-r--r-- | ksmserver/shutdown.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index 549fd2cc3..a153b2806 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -188,7 +188,7 @@ void KSMServer::shutdownInternal( KApplication::ShutdownConfirm confirm, if (showFancyLogout) { KSMShutdownIPFeedback::showit(); // hide the UGLY logout process from the user - KSMShutdownIPDlg::showShutdownIP(); + shutdownNotifierIPDlg = KSMShutdownIPDlg::showShutdownIP(); } if ( saveSession ) @@ -553,6 +553,10 @@ void KSMServer::killWM() { state = KillingWM; bool iswm = false; + if (shutdownNotifierIPDlg) { + shutdownNotifierIPDlg->close(); + shutdownNotifierIPDlg=0; + } for ( KSMClient* c = clients.first(); c; c = clients.next() ) { if( isWM( c )) { iswm = true; |