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:
Marcel Hollerbach 2020-04-14 11:29:12 -04:00 committed by Mike Blumenkrantz
parent 728fd911ea
commit 6031466142
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Foc
}
else
{
n = _request_subchild(pd->root);
n = _request_subchild_except(pd->root, pd->redirect_entry);
if (n)
efl_ui_focus_manager_focus_set(obj, n->focusable);
}