chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: send dbus signals when sessions/users/seats come and go
[elogind.git]
/
src
/
logind-seat.c
diff --git
a/src/logind-seat.c
b/src/logind-seat.c
index 751f59a48d6f3d74239263f5be67e4761cccf8bd..95c66dd7125649cff8d54efbe6c475e65109bc9f 100644
(file)
--- a/
src/logind-seat.c
+++ b/
src/logind-seat.c
@@
-314,6
+314,8
@@
int seat_start(Seat *s) {
s->started = true;
+ seat_send_signal(s, true);
+
return 0;
}
@@
-327,6
+329,8
@@
int seat_stop(Seat *s) {
log_info("Removed seat %s.", s->id);
+ seat_send_signal(s, false);
+
seat_stop_sessions(s);
unlink(s->state_file);