discomfitor pushed a commit to branch master.

commit c84797ec9ac02499d63281828098047cc890c4de
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Apr 17 10:24:30 2013 +0100

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

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to