summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_box.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_box.c b/src/lib/elementary/elm_box.c
index 07dee748ed..10ede30361 100644
--- a/src/lib/elementary/elm_box.c
+++ b/src/lib/elementary/elm_box.c
@@ -26,9 +26,18 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
26static void 26static void
27_elm_box_efl_ui_focus_composition_prepare(Eo *obj, Elm_Box_Data *pd EINA_UNUSED) 27_elm_box_efl_ui_focus_composition_prepare(Eo *obj, Elm_Box_Data *pd EINA_UNUSED)
28{ 28{
29 Eina_List *n, *nn;
30 Elm_Widget *elem;
31
29 Elm_Widget_Smart_Data *wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS); 32 Elm_Widget_Smart_Data *wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
30 Eina_List *order = evas_object_box_children_get(wpd->resize_obj); 33 Eina_List *order = evas_object_box_children_get(wpd->resize_obj);
31 34
35 EINA_LIST_FOREACH_SAFE(order, n, nn, elem)
36 {
37 if (!efl_isa(elem, ELM_WIDGET_CLASS))
38 order = eina_list_remove(order, elem);
39 }
40
32 efl_ui_focus_composition_elements_set(obj, order); 41 efl_ui_focus_composition_elements_set(obj, order);
33} 42}
34 43