clear wl subsurface data during delete only if subsurface is not also deleted
fix T4297
This commit is contained in:
parent
8af42ec11d
commit
3b21839615
|
@ -2436,7 +2436,10 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec)
|
||||||
|
|
||||||
/* remove sub list */
|
/* remove sub list */
|
||||||
EINA_LIST_FREE(ec->comp_data->sub.list, subc)
|
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))
|
if ((ec->parent) && (ec->parent->modal == ec))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue