summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-30 10:29:33 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-31 12:11:44 -0400
commit379edcefbea17aa12ace93994c63d6e5b7b96130 (patch)
tree5f15b4b29734b7126299b07c3eeeba1de98affce
parentf05c1999aefda70d1e48c369cbf4cc6c048bfcfc (diff)
downloadenlightenment-379edcefbea17aa12ace93994c63d6e5b7b96130.tar.gz
block wl modal window destructor from intercepting xwl modal windows
failing to pass these to the xwl destructor breaks the xserver ref T5593
-rw-r--r--src/bin/e_comp_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 93f26c5eac..9c74d2c39d 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2481,7 +2481,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;