From: Mike Blumenkrantz Date: Mon, 15 Jun 2015 20:59:48 +0000 (-0400) Subject: only play visibility effects for allowed clients X-Git-Tag: upstream/0.20.0~779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da895a24dd3862622d831d37d38874328810423e;p=platform%2Fupstream%2Fenlightenment.git only play visibility effects for allowed clients --- diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 5288413..f7af78a 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -712,7 +712,7 @@ _e_comp_object_effect_visibility_start(E_Comp_Object *cw, Eina_Bool state) { int x, y; - if (!cw->visibility_effect) return EINA_TRUE;; + if ((!cw->visibility_effect) || (!e_comp_object_effect_allowed_get(cw->smart_obj))) return EINA_TRUE;; _e_comp_object_animating_begin(cw); e_comp_object_effect_stop(cw->smart_obj, _e_comp_object_done_defer); if (!e_comp_object_effect_set(cw->smart_obj, cw->visibility_effect))