From 3d098097bfd9c93c92de4a32b5f7dc7d44be4295 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 23 Jun 2017 17:43:58 -0400 Subject: [PATCH] ecore-wl2: do not send exit event on disconnect if servers exist this kills the compositor. @fix --- src/lib/ecore_wl2/ecore_wl2_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c index a152876..b7fb89e 100644 --- a/src/lib/ecore_wl2/ecore_wl2_display.c +++ b/src/lib/ecore_wl2/ecore_wl2_display.c @@ -343,7 +343,7 @@ _begin_recovery_maybe(Ecore_Wl2_Display *ewd, int code) { if ((_server_displays || (code != EPROTO)) && ewd->wl.session_recovery)// && (errno == EPIPE)) _recovery_timer_add(ewd); - else + else if (!_server_displays) { ERR("Wayland Socket Error: %s", strerror(errno)); _ecore_wl2_display_signal_exit(); -- 2.7.4