ami pushed a commit to branch elementary-1.15. http://git.enlightenment.org/core/elementary.git/commit/?id=5c091504987b66eb2ee068cdc20d635a2c73950a
commit 5c091504987b66eb2ee068cdc20d635a2c73950a 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 cca3a0e..5eca39e 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -2493,14 +2493,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; } } --