discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=da895a24dd3862622d831d37d38874328810423e

commit da895a24dd3862622d831d37d38874328810423e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jun 15 16:59:48 2015 -0400

    only play visibility effects for allowed clients
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 


Reply via email to