discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=fe5f8df0013c544ec30bd5b6cc68e42806a5c60a
commit fe5f8df0013c544ec30bd5b6cc68e42806a5c60a Author: Mike Blumenkrantz <zm...@samsung.com> Date: Thu Mar 13 12:07:49 2014 -0400 use E_CLIENT_FOREACH macro for resist calcs CID 1155285 --- src/bin/e_resist.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/e_resist.c b/src/bin/e_resist.c index 6f65481..7bae216 100644 --- a/src/bin/e_resist.c +++ b/src/bin/e_resist.c @@ -56,8 +56,7 @@ e_resist_client_position(E_Comp *c, Eina_List *skiplist, /* FIXME: need to add resist or complete BLOCKS for things like ibar */ /* can add code here to add more fake obstacles with custom resist values */ /* here if need be - ie xinerama middle between screens and panels etc. */ - ec = e_client_bottom_get(c); - do + E_CLIENT_FOREACH(c, ec) { if (ec->visible && (!e_client_util_ignored_get(ec))) { @@ -66,8 +65,7 @@ e_resist_client_position(E_Comp *c, Eina_List *skiplist, OBSTACLE(ec->x, ec->y, ec->w, ec->h, e_config->window_resist); } } - ec = e_client_above_get(ec); - } while (ec); + } desk = e_desk_current_get(e_zone_current_get(c)); EINA_LIST_FOREACH(e_shelf_list(), l, es) --