forked from enlightenment/enlightenment
Re-break gadcon so everything works correctly.
according to raster e_gadcon_canvas_zone_geometry_get() was supposed to return zone-relative coordinates, but it was implemented incorrectly and everything now depends on absolute coordinates, so let's keep it absolute. SVN revision: 38589
This commit is contained in:
parent
b6ef2cd2c9
commit
1bfaf61168
|
@ -676,11 +676,6 @@ e_gadcon_canvas_zone_geometry_get(E_Gadcon *gc, int *x, int *y, int *w, int *h)
|
|||
E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, 0);
|
||||
if (!gc->ecore_evas) return 0;
|
||||
ecore_evas_geometry_get(gc->ecore_evas, x, y, w, h);
|
||||
if (gc->zone)
|
||||
{
|
||||
if (x) *x = *x - gc->zone->x;
|
||||
if (y) *y = *y - gc->zone->y;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue