From 45be3360d8371f9aba9536d2d4f5d064ecb22616 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sat, 16 Jan 2016 14:59:02 -0500 Subject: [PATCH] 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 bdd175a47a5c5764ed96c56fc86d690570ba1ce4 fix T3061 --- src/bin/e_zone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index baf5c92ef..ec28ce027 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -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; }