discomfitor pushed a commit to branch master.

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

commit ea2ec5a2f3735c18a752cf2dcfbe2c390eb96f35
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jan 25 13:41:13 2016 -0500

    use desk obstacles for calculating desk-specific zone useful geometry
    
    typo--
---
 src/bin/e_zone.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index ec28ce0..2d02fd2 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -1244,7 +1244,7 @@ _e_zone_useful_geometry_calc(const E_Zone *zone, int dx, 
int dy, int *x, int *y,
    desk = e_desk_at_xy_get(zone, dx, dy);
    if (desk)
      {
-        EINA_INLIST_FOREACH(zone->obstacles, obs)
+        EINA_INLIST_FOREACH(desk->obstacles, obs)
           {
              if (!E_INTERSECTS(obs->x, obs->y, obs->w, obs->h, zx, zy, zw, 
zh)) continue;
              eina_tiler_rect_del(tiler, &(Eina_Rectangle){obs->x - zx, obs->y 
- zy, obs->w, obs->h});

-- 


Reply via email to