ryantimwilson / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone
65878a
From 4a725025497979ad512e242335360b23fb43b349 Mon Sep 17 00:00:00 2001
65878a
From: Michal Sekletar <msekleta@redhat.com>
65878a
Date: Mon, 10 Mar 2014 18:11:45 +0100
65878a
Subject: [PATCH] logind: add forgotten call to user_send_changed()
65878a
65878a
---
65878a
 src/login/logind-session.c | 1 +
65878a
 1 file changed, 1 insertion(+)
65878a
65878a
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
65878a
index f31961a..e519d35 100644
65878a
--- a/src/login/logind-session.c
65878a
+++ b/src/login/logind-session.c
65878a
@@ -587,6 +587,7 @@ int session_start(Session *s) {
65878a
 
65878a
         /* Send signals */
65878a
         session_send_signal(s, true);
65878a
+        user_send_changed(s->user, "Sessions\0");
65878a
 
65878a
         if (s->seat) {
65878a
                 if (s->seat->active == s)