//////////////////////////////////////////////////////
+EAPI Eina_Bool
+e_comp_object_effect_allowed_get(Evas_Object *obj)
+{
+ API_ENTRY EINA_FALSE;
+
+ if (!cw->shobj) return EINA_FALSE;
+ if (cw->ec->override) return !e_comp_config_get()->match.disable_overrides;
+ return !e_comp_config_get()->match.disable_borders;
+}
+
/* setup an api effect for a client */
E_API Eina_Bool
e_comp_object_effect_set(Evas_Object *obj, const char *effect)
E_API void e_comp_object_native_surface_set(Evas_Object *obj, Eina_Bool set);
E_API void e_comp_object_dirty(Evas_Object *obj);
E_API Eina_Bool e_comp_object_render(Evas_Object *obj);
+EAPI Eina_Bool e_comp_object_effect_allowed_get(Evas_Object *obj);
E_API Eina_Bool e_comp_object_effect_set(Evas_Object *obj, const char *effect);
E_API void e_comp_object_effect_params_set(Evas_Object *obj, int id, int *params, unsigned int count);
E_API void e_comp_object_effect_clip(Evas_Object *obj);