]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Check compositor is stopped before stopping local seats
authorRobert Ancell <robert.ancell@canonical.com>
Mon, 20 Jun 2016 00:10:36 +0000 (12:10 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Mon, 20 Jun 2016 00:10:36 +0000 (12:10 +1200)
src/seat-local.c

index 43fd21ded2bdc83beddf79ca87840c4431997290..833cc6e3f0e1cb0759af6a2a45df264e97ac0027 100644 (file)
@@ -50,7 +50,7 @@ seat_local_setup (Seat *seat)
 static void
 check_stopped (SeatLocal *seat)
 {
-    if (!seat->priv->xdmcp_x_server)
+    if (!seat->priv->compositor && !seat->priv->xdmcp_x_server)
         SEAT_CLASS (seat_local_parent_class)->stop (SEAT (seat));
 }