{
ELM_GENGRID_DATA_GET_FROM_ITEM(it, sd);
efl_ui_focus_manager_calc_unregister(sd->obj, EO_OBJ(it));
+ sd->order_dirty = EINA_TRUE;
}
evas_event_thaw(evas_object_evas_get(WIDGET(it)));
if (!it->realized)
{
efl_ui_focus_manager_calc_register_logical(sd->obj, EO_OBJ(it), sd->obj, NULL);
+ sd->order_dirty = EINA_TRUE;
}
if ((it->realized) ||
sd->atspi_children = eina_list_append(sd->atspi_children, EO_OBJ(it));
//
- efl_ui_focus_composition_dirty(sd->obj);
-
- return it;
+ return it;
}
EOLIAN static void
if (elm_widget_is_legacy(obj)) return;
//
+ if (!pd->order_dirty) return;
+ pd->order_dirty = EINA_FALSE;
+
EINA_INLIST_FOREACH(pd->items, item)
{
if (item->base->disabled)
if (!elm_object_item_disabled_get(data) && !is_group)
{
- Elm_Widget_Item_Data *wpd = efl_data_scope_get(data, ELM_WIDGET_ITEM_CLASS);
-
- //first prepare the container
- efl_ui_focus_object_setup_order(wpd->widget);
efl_ui_focus_object_setup_order(data);
}
}