forked from enlightenment/efl
efl_ui_focus_manager_calc: do not redirect requested calls
this is not documented and does not make sense.
This commit is contained in:
parent
9d5a9cf2e1
commit
803fddea5d
|
@ -1468,10 +1468,6 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_request_move(Eo *obj, Efl_Ui_Foc
|
|||
Node *child_node;
|
||||
EINA_SAFETY_ON_FALSE_RETURN_VAL(DIRECTION_CHECK(direction), NULL);
|
||||
|
||||
if (pd->redirect)
|
||||
return efl_ui_focus_manager_request_move(pd->redirect, direction, NULL, logical);
|
||||
else
|
||||
{
|
||||
if (!child)
|
||||
child_node = eina_list_last_data_get(pd->focus_stack);
|
||||
else
|
||||
|
@ -1482,7 +1478,6 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_request_move(Eo *obj, Efl_Ui_Foc
|
|||
|
||||
return _request_move(obj, pd, direction, child_node, logical);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
_node_depth(Node *node)
|
||||
|
|
|
@ -1665,7 +1665,7 @@ elm_object_focus_next_object_get(const Evas_Object *obj,
|
|||
Efl_Ui_Widget *top = elm_object_top_widget_get(obj);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL);
|
||||
|
||||
return efl_ui_focus_manager_request_move(top, dir, NULL, EINA_FALSE);
|
||||
return efl_ui_focus_manager_request_move(efl_ui_focus_util_active_manager(EFL_UI_FOCUS_UTIL_CLASS, top), dir, NULL, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue