block wl modal window destructor from intercepting xwl modal windows

failing to pass these to the xwl destructor breaks the xserver

ref T5593
This commit is contained in:
Mike Blumenkrantz 2017-10-30 10:29:33 -04:00
parent ac49e6de22
commit 47df20207d
1 changed files with 1 additions and 1 deletions

View File

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