diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-21 20:43:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-21 20:43:34 +0200 |
commit | da11939561b1e6eeb1131b68dbf43042fd633a05 (patch) | |
tree | 56b654d78e646a0de6a0db4656da9b758e49258c /src/logind-session.c | |
parent | e1c9c2d53606f987110b4215cf08c236af637ff1 (diff) |
logind: send dbus signals when sessions/users/seats come and go
Diffstat (limited to 'src/logind-session.c')
-rw-r--r-- | src/logind-session.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logind-session.c b/src/logind-session.c index 0d34037b5d..26f857dc39 100644 --- a/src/logind-session.c +++ b/src/logind-session.c @@ -443,6 +443,8 @@ int session_start(Session *s) { dual_timestamp_get(&s->timestamp); + session_send_signal(s, true); + return 0; } @@ -519,6 +521,8 @@ int session_stop(Session *s) { assert(s); + session_send_signal(s, false); + /* Kill cgroup */ k = session_kill_cgroup(s); if (k < 0) |