From 349b645141515f7906695ad03e3d32e1739ca568 Mon Sep 17 00:00:00 2001 From: raster 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. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@55927 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/canvas/evas_render.c b/src/lib/canvas/evas_render.c index c5b3028..34a5573 100644 --- a/src/lib/canvas/evas_render.c +++ b/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, -- 2.7.4