zsh: update to 5.7.1 & native build
[unleashed-userland.git] / components / ConsoleKit / patches / 12-cores-srss.patch
blobd512956e648b908f44be6f64e60b37c455afe517
1 diff --git a/src/ck-seat.c b/src/ck-seat.c
2 index dd2a387..72db11e 100644
3 --- a/src/ck-seat.c
4 +++ b/src/ck-seat.c
5 @@ -907,7 +907,10 @@ change_active_session (CkSeat *seat,
6 * must be sent when the database dump is finished it is
7 * important that the '-full' signalled is emitted first. */
9 - g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED_FULL], 0, old_session, session);
10 + if (CK_IS_SESSION (old_session)) {
11 + g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED_FULL], 0, old_session, session);
12 + }
14 g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED], 0, ssid);
16 if (old_session != NULL) {