diff options
author | Vincent Untz <[email protected]> | 2011-09-09 09:54:14 +0200 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-02-04 07:52:05 -0500 |
commit | 409d9fcc735f6dfd6ada9d90360e045130379259 (patch) | |
tree | 831e37e9589e3ab1edef800ff4bdd04b5744208f /egg | |
parent | 0f4afbbdef79ce391455d246d62b403b6d0046f1 (diff) | |
download | mate-session-manager-409d9fcc735f6dfd6ada9d90360e045130379259.tar.bz2 mate-session-manager-409d9fcc735f6dfd6ada9d90360e045130379259.tar.xz |
gsm: Disconnect all dbus clients when dbus is disconnected
When we receive the Disconnected signal from dbus on the session bus,
then we know we won't be able to talk to dbus clients anymore, so mark
them as disconnected. Also, do not restart them even if they're supposed
to be autorestarted, as we won't be able to track them.
At this point, the session is kind of hosed. We could possibly decide
to simply leave, but we don't do it in case it's a user session and
there's unsaved data.
This helps a lot in the case of the gdm greeter, see
https://bugzilla.gnome.org/show_bug.cgi?id=658481
Adapted from https://gitlab.gnome.org/GNOME/gnome-session/commit/ae8fa537
Diffstat (limited to 'egg')
0 files changed, 0 insertions, 0 deletions