discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=45be3360d8371f9aba9536d2d4f5d064ecb22616

commit 45be3360d8371f9aba9536d2d4f5d064ecb22616
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Sat Jan 16 14:59:02 2016 -0500

    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 baf5c92..ec28ce0 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;
 }

-- 



Reply via email to