From c84797ec9ac02499d63281828098047cc890c4de Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 17 Apr 2013 10:24:30 +0100 Subject: [PATCH] set comp win zoomap smooth based on comp smooth scale setting --- src/bin/e_comp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 66054ee..4c04908 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -2020,6 +2020,7 @@ _e_comp_win_dummy_add(E_Comp *c, Evas_Object *obj, E_Object *eobj, Eina_Bool nol e_theme_edje_object_set(cw->effect_obj, "base/theme/comp", "e/comp/effects/none"); cw->shobj = edje_object_add(c->evas); cw->zoomobj = e_zoomap_add(c->evas); + e_zoomap_smooth_set(cw->zoomobj, conf->smooth_windows); _e_comp_win_shadow_setup(cw); edje_object_part_swallow(cw->effect_obj, "e.swallow.content", cw->shobj); @@ -2178,7 +2179,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border *bd) e_theme_edje_object_set(cw->effect_obj, "base/theme/comp", "e/comp/effects/none"); cw->shobj = edje_object_add(c->evas); cw->zoomobj = e_zoomap_add(c->evas); - e_zoomap_always_set(cw->zoomobj, 1); + e_zoomap_smooth_set(cw->zoomobj, conf->smooth_windows); cw->obj = evas_object_image_filled_add(c->evas); evas_object_image_colorspace_set(cw->obj, EVAS_COLORSPACE_ARGB8888); if (cw->argb) evas_object_image_alpha_set(cw->obj, 1); -- 2.7.4