forked from enlightenment/efl
efl_ui_focus_manager: do not fallback to the same object
Summary: when redirect gets unset, we shound search for a fallback. However, we should never fallback to the value we have unset. ref D11667 Depends on D11669 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11670
This commit is contained in:
parent
728fd911ea
commit
6031466142
|
@ -869,7 +869,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Foc
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
n = _request_subchild(pd->root);
|
n = _request_subchild_except(pd->root, pd->redirect_entry);
|
||||||
if (n)
|
if (n)
|
||||||
efl_ui_focus_manager_focus_set(obj, n->focusable);
|
efl_ui_focus_manager_focus_set(obj, n->focusable);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue