]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Always re-activate, whether new session is marked as active or not, since ConsoleKit...
authorMichael Terry <michael.terry@canonical.com>
Mon, 17 Mar 2014 18:45:29 +0000 (14:45 -0400)
committerMichael Terry <michael.terry@canonical.com>
Mon, 17 Mar 2014 18:45:29 +0000 (14:45 -0400)
src/seat.c

index 040b289d7a7d1ee721bfdcdbb7754f18b1348aea..60bfdd3ba2fec7a950354302af8cac2f06a92b18 100644 (file)
@@ -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,