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
This commit is contained in:
Mike Blumenkrantz 2015-09-17 16:41:02 -04:00
parent e09b0d3e03
commit f7d3952ec0
1 changed files with 1 additions and 0 deletions

View File

@ -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);