ecore-wl2: do not send exit event on disconnect if servers exist

this kills the compositor.

@fix
This commit is contained in:
Mike Blumenkrantz 2017-06-23 17:43:58 -04:00
parent fb5cb4d5c3
commit 3d098097bf
1 changed files with 1 additions and 1 deletions

View File

@ -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();