projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24851f9
)
[genlist][access] do not append NULL to genlist focus list
author
Shinwoo Kim
<cinoo.kim@samsung.com>
Fri, 3 May 2013 11:16:17 +0000
(20:16 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Mon, 27 May 2013 05:14:49 +0000
(14:14 +0900)
Change-Id: Id16cc0df18300a8cf003b789094b7018d2a3b176
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
9acb5e1
..
865fa5b
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-2581,7
+2581,12
@@
_elm_genlist_smart_focus_next(const Evas_Object *obj,
if (it->realized)
{
evas_object_geometry_get(it->base.view, &x, &y, &w, &h);
- items = eina_list_append(items, it->base.access_obj);
+
+ /* check item which displays more than half of its size */
+ if (it->base.access_obj &&
+ ELM_RECTS_INTERSECT
+ (x + (w / 2), y + (h / 2), 0, 0, sx, sy, sw, sh))
+ items = eina_list_append(items, it->base.access_obj);
if (!it->base.access_order) continue;