bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=32e17ecdc287b82aab6fa92203e632da84f5ae6b

commit 32e17ecdc287b82aab6fa92203e632da84f5ae6b
Author: Marcel Hollerbach <mar...@osg.samsung.com>
Date:   Thu Apr 12 14:27:22 2018 +0200

    efl_ui_focus_manager_calc: only call next when the node is unexpected
    
    ref T6793
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 }

-- 


Reply via email to