aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-04-25 14:00:28 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-04-30 15:22:52 +0200
commit5815ba52ec88adb0d77506858a874c80be852763 (patch)
treeb5cd9856cbe47e20fb927768b5164361d5b0709c /src
parentefl_ui_focus_manager_calc: make the preparation call tree style (diff)
downloadefl-5815ba52ec88adb0d77506858a874c80be852763.tar.gz
elm_****: do not make group items focusable
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_gengrid.c2
-rw-r--r--src/lib/elementary/elm_genlist.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 5507c66b6c..f787b4a2c1 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -5731,6 +5731,8 @@ _elm_gengrid_efl_ui_focus_composition_prepare(Eo *obj, Elm_Gengrid_Data *pd)
{
if (item->base->disabled)
continue;
+ if (item->group)
+ continue;
order = eina_list_append(order, item->base->eo_obj);
}
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 4efbc7cda8..8e2e426418 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -8752,6 +8752,8 @@ _elm_genlist_efl_ui_focus_composition_prepare(Eo *obj, Elm_Genlist_Data *pd)
{
if (item->base->disabled)
continue;
+ if (item->item->type == ELM_GENLIST_ITEM_GROUP)
+ continue;
order = eina_list_append(order, item->base->eo_obj);
}