only play visibility effects for allowed clients
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 15 Jun 2015 20:59:48 +0000 (16:59 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 15 Jun 2015 21:02:47 +0000 (17:02 -0400)
src/bin/e_comp_object.c

index 5288413..f7af78a 100644 (file)
@@ -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))