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-user.c | |
parent | e1c9c2d53606f987110b4215cf08c236af637ff1 (diff) |
logind: send dbus signals when sessions/users/seats come and go
Diffstat (limited to 'src/logind-user.c')
-rw-r--r-- | src/logind-user.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logind-user.c b/src/logind-user.c index 206064f103..70d6a9a524 100644 --- a/src/logind-user.c +++ b/src/logind-user.c @@ -280,6 +280,8 @@ int user_start(User *u) { dual_timestamp_get(&u->timestamp); + user_send_signal(u, true); + return 0; } @@ -365,6 +367,8 @@ int user_stop(User *u) { r = k; } + user_send_signal(u, false); + /* Kill systemd */ k = user_stop_service(u); if (k < 0) |