[Xfce4-commits] [xfce/xfce4-session] 07/11: dbus-client: don't kill clients on save yourself

noreply at xfce.org noreply at xfce.org
Tue Jun 28 09:26:10 CEST 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit cb05591cb25528c4076c666138c60e64a0918a2a
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Jun 26 12:48:07 2016 +0300

    dbus-client: don't kill clients on save yourself
    
    Since dbus clients aren't doing the xsmp shuffle, don't kill them
    for not responding to the save yourself message.
---
 xfce4-session/xfsm-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index 227aa5a..c71d726 100644
--- a/xfce4-session/xfsm-manager.c
+++ b/xfce4-session/xfsm-manager.c
@@ -953,9 +953,9 @@ xfsm_manager_register_client (XfsmManager *manager,
       if (sms_conn != NULL)
         {
           SmsSaveYourself (sms_conn, SmSaveLocal, False, SmInteractStyleNone, False);
+          xfsm_client_set_state (client, XFSM_CLIENT_SAVINGLOCAL);
+          xfsm_manager_start_client_save_timeout (manager, client);
         }
-      xfsm_client_set_state (client, XFSM_CLIENT_SAVINGLOCAL);
-      xfsm_manager_start_client_save_timeout (manager, client);
     }
 
   if (previous_id != NULL && manager->state == XFSM_MANAGER_STARTUP)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list