try this?
authorCarsten Haitzler <raster@rasterman.com>
Thu, 26 Jun 2003 07:38:44 +0000 (07:38 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Thu, 26 Jun 2003 07:38:44 +0000 (07:38 +0000)
SVN revision: 7097

legacy/evas/src/lib/canvas/evas_object_main.c

index 26d75e3946ee81171a3f3b67280f19f67c80e7c2..93403482d22dd63c88bc7c20364e80b1c4f805d6 100644 (file)
@@ -286,10 +286,10 @@ evas_object_coords_recalc(Evas_Object *obj)
      evas_coord_world_y_to_screen(obj->layer->evas, obj->cur.geometry.y);
    obj->cur.cache.geometry.w = 
      evas_coord_world_x_to_screen(obj->layer->evas, obj->cur.geometry.w) -
-     obj->cur.cache.geometry.x;
+     evas_coord_world_x_to_screen(obj->layer->evas, 0);
    obj->cur.cache.geometry.h = 
      evas_coord_world_y_to_screen(obj->layer->evas, obj->cur.geometry.h) -
-     obj->cur.cache.geometry.y;
+     evas_coord_world_y_to_screen(obj->layer->evas, 0);
    if (obj->func->coords_recalc) obj->func->coords_recalc(obj);
    obj->cur.cache.geometry.validity = obj->layer->evas->output_validity;
 }