discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=379edcefbea17aa12ace93994c63d6e5b7b96130

commit 379edcefbea17aa12ace93994c63d6e5b7b96130
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Oct 30 10:29:33 2017 -0400

    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 93f26c5ea..9c74d2c39 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;

-- 


Reply via email to