summaryrefslogtreecommitdiff
path: root/xfce4-session/xfsm-manager.c
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2016-06-26 12:48:07 +0300
committerEric Koegel <eric.koegel@gmail.com>2016-06-28 10:25:37 +0300
commitcb05591cb25528c4076c666138c60e64a0918a2a (patch)
tree825962c70743a9e66171f606347b0ee84cdab070 /xfce4-session/xfsm-manager.c
parentc330fce551c610d69a6a12d7d3d67e73489977db (diff)
downloadxfce4-session-cb05591cb25528c4076c666138c60e64a0918a2a.tar.gz
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.
Diffstat (limited to 'xfce4-session/xfsm-manager.c')
-rw-r--r--xfce4-session/xfsm-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfce4-session/xfsm-manager.c b/xfce4-session/xfsm-manager.c
index 227aa5ad..c71d726f 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)