From f7d3952ec015810affe86c387ef0a43add65eef2 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 17 Sep 2015 16:41:02 -0400 Subject: [PATCH] add smart callback for comp object hiding animation begin it's impossible to determine this at the time of calling without adding some sort of callback here; edje signals are deferred, meaning that an interested user will not be able to check the state of a client when it begins to hide --- src/bin/e_comp_object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 675c9cc73..5f629238b 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1395,6 +1395,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj) _e_comp_object_animating_begin(cw); if (!_e_comp_object_effect_visibility_start(cw, 0)) return; } + evas_object_smart_callback_call(obj, "hiding", cw->ec); cw->defer_hide = !!cw->animating; if (!cw->animating) e_comp_object_effect_set(obj, NULL);