block wl modal window destructor from intercepting xwl modal windows

failing to pass these to the xwl destructor breaks the xserver

ref T5593
devs/bu5hm4n/sandbox_fix
Mike Blumenkrantz 6 years ago
parent ac49e6de22
commit 47df20207d
  1. 2
      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;

Loading…
Cancel
Save