aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_comp_object.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:48:53 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-11 18:48:49 -0400
commit65fe42fdef635d95135e85ecf6cb20048844e726 (patch)
treec990509c2b61cc04d7fa68fb41fae7be65109939 /src/bin/e_comp_object.c
parentadd wayland variable to pkgconfig (diff)
downloadenlightenment-65fe42fdef635d95135e85ecf6cb20048844e726.tar.gz
avoid object hide animations during shutdown
Diffstat (limited to 'src/bin/e_comp_object.c')
-rw-r--r--src/bin/e_comp_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 406de2e3c..d5640869d 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2785,7 +2785,7 @@ _e_comp_object_util_show(void *data EINA_UNUSED, Evas_Object *obj)
e_comp_shape_queue();
evas_object_show(obj);
- if (ref)
+ if (ref && (!stopping))
{
evas_object_ref(obj);
evas_object_data_set(obj, "comp_ref", (void*)1);
@@ -2813,7 +2813,7 @@ _e_comp_object_util_hide(void *data EINA_UNUSED, Evas_Object *obj)
evas_object_unref(obj);
return;
}
- if (!evas_object_data_del(obj, "comp_showing"))
+ if ((!stopping) && (!evas_object_data_del(obj, "comp_showing")))
{
evas_object_ref(obj);
evas_object_data_set(obj, "comp_ref", (void*)1);