evas/evas_map - fixed workaround code more properly.

SVN revision: 60906
This commit is contained in:
ChunEon Park 2011-07-01 04:35:26 +00:00
parent 82bc5b8140
commit 4d9ad50d67
1 changed files with 2 additions and 6 deletions

View File

@ -388,12 +388,8 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
//Need to find out the reason in the rendering engine then fix it. //Need to find out the reason in the rendering engine then fix it.
//However, it's hard to fix the problem now, added a just workarond code. //However, it's hard to fix the problem now, added a just workarond code.
//This problem will be fixed later or be removed when the rendering engine is refactored completely. //This problem will be fixed later or be removed when the rendering engine is refactored completely.
Evas *e = evas_object_evas_get(obj); Evas *e = obj->layer->evas;
evas_damage_rectangle_add(e, evas_damage_rectangle_add(e, 0, 0, e->output.w, e->output.h);
e->viewport.x,
e->viewport.y,
e->viewport.w,
e->viewport.h);
} }
_evas_map_calc_map_geometry(obj); _evas_map_calc_map_geometry(obj);
/* This is a bit heavy handed, but it fixes the case of same geometry, but /* This is a bit heavy handed, but it fixes the case of same geometry, but