diff options
author | afrantzis <alexandros.frantzis@canonical.com> | 2017-02-03 03:39:26 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-17 17:58:36 +0200 |
commit | 8df592e92ab19c628d558f621f2dfbe9a3589c91 (patch) | |
tree | 4520eff06a6b0dd44f0168074fe360c9dac4823d /src/login/logind-seat.c | |
parent | a61ff8a1eea921800d6225ff137b24e0a0fb60e1 (diff) |
logind: Don't try to emit a change signal for the 'Sessions' property (#5211)
The 'Sessions' property for both org.freedesktop.login1.User and
org.freedesktop.login1.Seat is marked as EmitsChangedSignal(false).
Trying to emit a change signal that includes the 'Sessions' property
leads to the signal not being sent at all.
Fixes #5210.
Diffstat (limited to 'src/login/logind-seat.c')
-rw-r--r-- | src/login/logind-seat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c index f94d7a22a..01b9ec17b 100644 --- a/src/login/logind-seat.c +++ b/src/login/logind-seat.c @@ -547,8 +547,6 @@ int seat_attach_session(Seat *s, Session *session) { LIST_PREPEND(sessions_by_seat, s->sessions, session); seat_assign_position(s, session); - seat_send_changed(s, "Sessions", NULL); - /* On seats with VTs, the VT logic defines which session is active. On * seats without VTs, we automatically activate new sessions. */ if (!seat_has_vts(s)) |