From: Robert Ancell Date: Mon, 20 Jun 2016 00:10:36 +0000 (+1200) Subject: Check compositor is stopped before stopping local seats X-Git-Url: https://rtime.felk.cvut.cz/gitweb/sojka/lightdm.git/commitdiff_plain/9ab89427dff7b99aab05544d46834e5ad6c404e3 Check compositor is stopped before stopping local seats --- diff --git a/src/seat-local.c b/src/seat-local.c index 43fd21de..833cc6e3 100644 --- a/src/seat-local.c +++ b/src/seat-local.c @@ -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)); }