aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-25 06:54:46 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-02 10:02:20 -0400
commit894dddfcfd8af64223c864c42234cdb457e61d27 (patch)
tree2716711759cb342fee9a7bc9fe36704e33c658b1
parentBattery: fix the battery status when some battery devices are not valid (diff)
downloadenlightenment-894dddfcfd8af64223c864c42234cdb457e61d27.tar.gz
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 f78eb3c108fbbb84edcb4c62fc499b4be558169a fix https://phab.enlightenment.org/T5203 Reviewers: ManMower, devilhorns Reviewed By: devilhorns Subscribers: netstar, cedric Tags: #enlightenment-git Maniphest Tasks: https://phab.enlightenment.org/T5203 Differential Revision: https://phab.enlightenment.org/D6367
-rw-r--r--src/bin/e_comp_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 6bab7d507..f212a164b 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -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)