bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8a0cf1418c62dc17bc9907bcdddfddde277ac044

commit 8a0cf1418c62dc17bc9907bcdddfddde277ac044
Author: Marcel Hollerbach <[email protected]>
Date:   Fri Oct 20 11:46:51 2017 +0200

    efl_ui_focus_manager: unfocus even logical elements
    
    entry for example is here a specialcase since it registeres itself as
    logical with a redirect manager that is then empty and only has a root
    element, which is again itself.
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 44b723bc12..24680bcd50 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1345,13 +1345,12 @@ 
_efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
    type = node->type;
    focusable = node->focusable;
 
+   _focus_stack_unfocus_last(pd);
+
    if (node->type == NODE_TYPE_NORMAL)
      {
         Eo *node_focusable;
 
-        _focus_stack_unfocus_last(pd);
-
-
         //save fields we later need
         node_focusable = node->focusable;
 

-- 


Reply via email to