summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-08-08 11:38:32 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-08-08 11:38:32 -0400
commit3b21839615037b5d0560df065abfd473517684e9 (patch)
treebbffb10ced6edba35d9ea1c2436fbadded81cbef
parent8af42ec11db8010bb276117bcc43238cdbaa07f6 (diff)
clear wl subsurface data during delete only if subsurface is not also deleted
fix T4297
-rw-r--r--src/bin/e_comp_wl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index e9bd6448a..4507759f6 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)
2436 2436
2437 /* remove sub list */ 2437 /* remove sub list */
2438 EINA_LIST_FREE(ec->comp_data->sub.list, subc) 2438 EINA_LIST_FREE(ec->comp_data->sub.list, subc)
2439 subc->comp_data->sub.data->parent = NULL; 2439 {
2440 if (!e_object_is_del(E_OBJECT(subc)))
2441 subc->comp_data->sub.data->parent = NULL;
2442 }
2440 2443
2441 if ((ec->parent) && (ec->parent->modal == ec)) 2444 if ((ec->parent) && (ec->parent->modal == ec))
2442 { 2445 {