bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=35e7b3641116b0fd910c23c33625e5e0b2146895

commit 35e7b3641116b0fd910c23c33625e5e0b2146895
Author: YeongJong Lee <yj34....@samsung.com>
Date:   Thu Apr 12 14:35:55 2018 +0200

    efl_ui_focus_manager_calc: a node from focus_stack is always normal node.
    
    Summary:
    focus_stack can't store logical node. we don't need to check a node from
    focus_stack is not normal.
    see line 1613
    
    Reviewers: bu5hm4n
    
    Reviewed By: bu5hm4n
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5927
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index e22b80107f..edd4305be2 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1023,21 +1023,10 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj 
EINA_UNUSED, Efl_Ui_Focus_Manager_
 
              n = eina_list_nth(pd->focus_stack, 
eina_list_count(pd->focus_stack) - 2);
              if (!n)
-               {
-                  n = _request_subchild_except(pd->root, node);
-               }
-             else if (n->type != NODE_TYPE_NORMAL)
-               {
-                  n = _request_subchild_except(n, node);
-                  if (!n)
-                    {
-                       n = _request_subchild_except(pd->root, node);
-                    }
-               }
+               n = _request_subchild_except(pd->root, node);
 
              if (n)
                efl_ui_focus_manager_focus_set(obj, n->focusable);
-
           }
      }
 

-- 


Reply via email to