discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=21422fd256919ae6bb67f2a91798483f09739d39
commit 21422fd256919ae6bb67f2a91798483f09739d39 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Fri Oct 21 10:02:24 2016 -0400 trigger zone geometry events when updating zone/desk obstacles --- src/bin/e_zone.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c index f76b5a4..3d530ec 100644 --- a/src/bin/e_zone.c +++ b/src/bin/e_zone.c @@ -1371,12 +1371,12 @@ e_zone_obstacle_add(E_Zone *zone, E_Desk *desk, Eina_Rectangle *geom, Eina_Bool { desk->obstacles = eina_inlist_append(desk->obstacles, EINA_INLIST_GET(obs)); if (desk->visible) - desk->zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(desk->zone); } else { zone->obstacles = eina_inlist_append(zone->obstacles, EINA_INLIST_GET(obs)); - zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(zone); } return obs; } @@ -1400,12 +1400,12 @@ e_zone_obstacle_modify(E_Zone_Obstacle *obs, Eina_Rectangle *geom, Eina_Bool ver { desk = (E_Desk*)obs->owner; if (desk->visible) - desk->zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(desk->zone); } else { zone = (E_Zone*)obs->owner; - zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(zone); } } @@ -1699,13 +1699,13 @@ _e_zone_obstacle_free(E_Zone_Obstacle *obs) desk = (E_Desk*)obs->owner; desk->obstacles = eina_inlist_remove(desk->obstacles, EINA_INLIST_GET(obs)); if (desk->visible) - desk->zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(desk->zone); } else { zone = (E_Zone*)obs->owner; zone->obstacles = eina_inlist_remove(zone->obstacles, EINA_INLIST_GET(obs)); - zone->useful_geometry_dirty = 1; + e_zone_useful_geometry_dirty(zone); } free(obs); } --