summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-04-12 14:27:22 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-04-13 11:07:33 +0200
commit32e17ecdc287b82aab6fa92203e632da84f5ae6b (patch)
tree0c5cbf5eafc8531f21a5a0df61374c8e45468025
parent4214311a76bfd27774186b0a93882689d8bdbd4b (diff)
downloadefl-32e17ecdc287b82aab6fa92203e632da84f5ae6b.tar.gz
efl_ui_focus_manager_calc: only call next when the node is unexpected
ref T6793
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 9802c9f268..dad24f3462 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1014,11 +1014,10 @@ static inline Node*
_request_subchild_except(Node *n, Node *except)
{
n = _request_subchild(n);
- do
+ while (n == except)
{
n = _next(n);
}
- while (n == except);
return n;
}