discomfitor pushed a commit to branch master.


commit f7d3952ec015810affe86c387ef0a43add65eef2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Sep 17 16:41:02 2015 -0400

    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 675c9cc..5f62923 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)
                   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);


Reply via email to