summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-14 11:29:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-04-14 11:29:12 -0400
commit6031466142a3d1e85b234267bfd664df727ce8b9 (patch)
tree5bc6d2436ddd6bfdbca559d5f231cb5423aed152 /src/lib/elementary
parent728fd911ea489949c6627a589efbbd86d9a444dd (diff)
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
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index b2342c6a13..3d214c0fe5 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -869,7 +869,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Foc
869 } 869 }
870 else 870 else
871 { 871 {
872 n = _request_subchild(pd->root); 872 n = _request_subchild_except(pd->root, pd->redirect_entry);
873 if (n) 873 if (n)
874 efl_ui_focus_manager_focus_set(obj, n->focusable); 874 efl_ui_focus_manager_focus_set(obj, n->focusable);
875 } 875 }