ami pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d47cb3ef50239ad7e5d42f77c62285db48237f23
commit d47cb3ef50239ad7e5d42f77c62285db48237f23 Author: Amitesh Singh <amitesh...@samsung.com> Date: Wed Aug 26 15:35:47 2015 +0530 gengrid: fix item focus movement in case of horizontal mode Steps to reproduce: 1. elementary -> gengrid focus 2. change mode to horizontal 3. set focus to one of item in 2nd column. 4. Press Left direction key issue: focus moves out of gengrid. @fix --- src/lib/elm_gengrid.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index e734399..a863799 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -2495,14 +2495,16 @@ _elm_gengrid_item_edge_check(Elm_Object_Item *eo_it, { row = cvh / sd->item_height; if (row <= 0) row = 1; - if (tmp->position <= row) + col = tmp->position / row; + if (col == 0) return EINA_TRUE; } else if (sd->item_width > 0) { col = cvw / sd->item_width; if (col <= 0) col = 1; - if (tmp->position <= col) + row = tmp->position / col; + if (row == 0) return EINA_TRUE; } } --