From: Michael Terry Date: Mon, 17 Mar 2014 18:45:29 +0000 (-0400) Subject: Always re-activate, whether new session is marked as active or not, since ConsoleKit... X-Git-Url: http://rtime.felk.cvut.cz/gitweb/sojka/lightdm.git/commitdiff_plain/2bdefd48c0db4bda6dca3e21c4a498eb441b0b2b Always re-activate, whether new session is marked as active or not, since ConsoleKit will re-activate an old session --- diff --git a/src/seat.c b/src/seat.c index 040b289d..60bfdd3b 100644 --- a/src/seat.c +++ b/src/seat.c @@ -528,7 +528,7 @@ run_session (Seat *seat, Session *session) g_object_unref (seat->priv->session_to_activate); seat->priv->session_to_activate = NULL; } - else if (session != seat->priv->active_session) + else if (seat->priv->active_session) { /* Multiple sessions can theoretically be on the same VT (especially if using Mir). If a new session appears on an existing active VT,