From aa2733a4ba6f35e8ed75b23702a646e6733a8d4f Mon Sep 17 00:00:00 2001 From: Atton Jonathan Date: Thu, 6 Jan 2011 08:02:37 +0000 Subject: [PATCH] fix evas map bug - From: Atton Jonathan Subject: Re: [E-devel] Evas map and the attribute "color" and clip Here a application. The test here is a bit different from the case in my appliaction. I have : - 1 gengrid - 1 elm layout as icon in the grid item - a edje group swallowed in the elm layout. This group has a rotation. It is a red rectangle. When I select the item : - if no map : the rectangle disappear because the grid item add a rectangle in front of the red rectangle. - if map : only a part of the red rectangle disappear. If I resize the window sometime the rectangle disappear, sometimes a part appear. 2 screenshots are in the archive. :) that one. SVN revision: 55927 --- legacy/evas/src/lib/canvas/evas_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_render.c b/legacy/evas/src/lib/canvas/evas_render.c index c5b30287de..34a55738ff 100644 --- a/legacy/evas/src/lib/canvas/evas_render.c +++ b/legacy/evas/src/lib/canvas/evas_render.c @@ -851,8 +851,8 @@ evas_render_mapped(Evas *e, Evas_Object *obj, void *context, void *surface, w = obj->cur.cache.clip.w; h = obj->cur.cache.clip.h; RECTS_CLIP_TO_RECT(x, y, w, h, - obj->cur.clipper->cur.cache.clip.x + off_x, - obj->cur.clipper->cur.cache.clip.y + off_y, + obj->cur.clipper->cur.cache.clip.x, + obj->cur.clipper->cur.cache.clip.y, obj->cur.clipper->cur.cache.clip.w, obj->cur.clipper->cur.cache.clip.h); e->engine.func->context_clip_set(e->engine.data.output,