summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind-seat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c
index 4a4d40adca..feebcf4558 100644
--- a/src/login/logind-seat.c
+++ b/src/login/logind-seat.c
@@ -246,8 +246,10 @@ int seat_set_active(Seat *s, Session *session) {
old_active = s->active;
s->active = session;
- if (old_active)
+ if (old_active) {
session_device_pause_all(old_active);
+ session_send_changed(old_active, "Active\0");
+ }
seat_apply_acls(s, old_active);