diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-08-24 16:57:36 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2013-08-24 16:57:36 +1200 |
commit | 3601fee960a0e09f02ab4c20f921c952a2a21fa9 (patch) | |
tree | b8e1a6ac00ebffbb41edafea940e516365b475e7 | |
parent | 4a908eb28e0fb8583d0d16e4c95eabca0da72d28 (diff) | |
parent | 01ff6217ceae98c90dd595b9b286e148180936c8 (diff) | |
download | lightdm-3601fee960a0e09f02ab4c20f921c952a2a21fa9.tar.gz |
Merge with trunk
-rw-r--r-- | src/seat.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -186,10 +186,6 @@ seat_set_active_session (Seat *seat, Session *session) g_return_if_fail (seat != NULL); - /* Unlock this session */ - if (session != seat->priv->active_session && !IS_GREETER (session)) - session_unlock (session); - SEAT_GET_CLASS (seat)->set_active_session (seat, session); /* Stop any greeters */ @@ -935,6 +931,7 @@ greeter_start_session_cb (Greeter *greeter, SessionType type, const gchar *sessi { l_debug (seat, "Returning to existing user session %s", username); session_stop (session); + session_unlock (existing_session); seat_set_active_session (seat, existing_session); return TRUE; } |