bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=837f83114a4c4cb692bba997c4e669e97d82befc
commit 837f83114a4c4cb692bba997c4e669e97d82befc Author: Marcel Hollerbach <[email protected]> Date: Mon Oct 9 13:12:06 2017 +0200 efl_ui_focus_manager_calc: we dont need the explicit root handling, that is done later in line 1205 --- src/lib/elementary/efl_ui_focus_manager_calc.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index 500eb0f930..aafd24abe7 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c @@ -1196,24 +1196,13 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_ EINA_SAFETY_ON_NULL_RETURN(focus); - //if we want to focus the root then just spin to the first normal - if (focus == pd->root->focusable) - { - Node *f = _logical_movement(pd, pd->root, EFL_UI_FOCUS_DIRECTION_NEXT); - - if (f) - focus = f->focusable; - - if (!focus) return; - } - //check if node is part of this manager object node = node_get(obj, pd, focus); if (!node) return; F_DBG("Manager: %p focusing object %p %s", obj, focus, efl_class_name_get(focus)); - if (node->type == NODE_TYPE_ONLY_LOGICAL && !node->redirect_manager && pd->root != node) + if (node->type == NODE_TYPE_ONLY_LOGICAL && !node->redirect_manager) { Node *target = NULL; --
