From 47df20207ddbb794fadedf4dd2ff61b2aad98215 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 30 Oct 2017 10:29:33 -0400 Subject: [PATCH] block wl modal window destructor from intercepting xwl modal windows failing to pass these to the xwl destructor breaks the xserver ref T5593 --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 7bc3cc065..023a8cf54 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -2574,7 +2574,7 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec) subc->comp_data->sub.data->parent = NULL; } - if ((ec->parent) && (ec->parent->modal == ec)) + if ((!e_client_has_xwindow(ec)) && (ec->parent) && (ec->parent->modal == ec)) { ec->parent->lock_close = EINA_FALSE; ec->parent->modal = NULL;