set comp win zoomap smooth based on comp smooth scale setting

This commit is contained in:
Mike Blumenkrantz 2013-04-17 10:24:30 +01:00
parent 243c9409c9
commit c84797ec9a
1 changed files with 2 additions and 1 deletions

View File

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