From 3b21839615037b5d0560df065abfd473517684e9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 8 Aug 2016 11:38:32 -0400 Subject: [PATCH] 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 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) /* 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)) {