forked from enlightenment/enlightenment
avoid adding render updates for deleted clients after animation completes
Summary:
in the case where deletion is deferred to preserve a window animation this
codepath may be triggered by a deleted client, at which point no render update
should occur in order to avoid compositor errors
ref f78eb3c108
fix T5203
Reviewers: ManMower, devilhorns
Reviewed By: devilhorns
Subscribers: netstar, cedric
Tags: #enlightenment-git
Maniphest Tasks: T5203
Differential Revision: https://phab.enlightenment.org/D6367
This commit is contained in:
parent
a6277f4f6d
commit
5365493788
|
@ -825,7 +825,7 @@ _e_comp_object_done_defer(void *data, Evas_Object *obj EINA_UNUSED, const char *
|
|||
/* hide only after animation finishes to guarantee a full run of the animation */
|
||||
if (cw->defer_hide && ((!strcmp(emission, "e,action,hide,done")) || (!strcmp(emission, "e,action,done"))))
|
||||
evas_object_hide(cw->smart_obj);
|
||||
else
|
||||
else if (!cw->deleted)
|
||||
{
|
||||
e_comp_shape_queue();
|
||||
if (cw->visible && cw->updates_exist)
|
||||
|
|
Loading…
Reference in New Issue