apply zone coords when calculating zone useful geometry

calculated coords in this case have not yet been normalized for the
zone which they correspond to

ref bdd175a47a

fix T3061
This commit is contained in:
Mike Blumenkrantz 2016-01-16 14:59:02 -05:00
parent dcbf258a35
commit 45be3360d8
1 changed files with 2 additions and 2 deletions

View File

@ -1260,8 +1260,8 @@ _e_zone_useful_geometry_calc(const E_Zone *zone, int dx, int dy, int *x, int *y,
eina_iterator_free(it);
eina_tiler_free(tiler);
if (x) *x = geom.x;
if (y) *y = geom.y;
if (x) *x = geom.x + zx;
if (y) *y = geom.y + zy;
if (w) *w = geom.w;
if (h) *h = geom.h;
}