discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3b21839615037b5d0560df065abfd473517684e9

commit 3b21839615037b5d0560df065abfd473517684e9
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Aug 8 11:38:32 2016 -0400

    clear wl subsurface data during delete only if subsurface is not also 
deleted
    
    fix T4297
---
 src/bin/e_comp_wl.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index e9bd644..4507759 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2436,7 +2436,10 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, 
E_Client *ec)
 
    /* remove sub list */
    EINA_LIST_FREE(ec->comp_data->sub.list, subc)
-     subc->comp_data->sub.data->parent = NULL;
+     {
+        if (!e_object_is_del(E_OBJECT(subc)))
+          subc->comp_data->sub.data->parent = NULL;
+     }
 
    if ((ec->parent) && (ec->parent->modal == ec))
      {

-- 


Reply via email to