bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=13982b2bd9827d6a5a8c17ac507e888e97a0b4d2

commit 13982b2bd9827d6a5a8c17ac507e888e97a0b4d2
Author: Marcel Hollerbach <[email protected]>
Date:   Mon Dec 19 19:53:01 2016 +0100

    efl_ui_focus_manager: return the new candidate
---
 src/lib/elementary/efl_ui_focus_manager.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/efl_ui_focus_manager.c 
b/src/lib/elementary/efl_ui_focus_manager.c
index 763f330..e8981c4 100644
--- a/src/lib/elementary/efl_ui_focus_manager.c
+++ b/src/lib/elementary/efl_ui_focus_manager.c
@@ -1150,6 +1150,7 @@ _efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, 
Efl_Ui_Focus_Manager_Data *pd, E
                  n = T(n).parent;
                  new_candidate = _request_move(obj, pd, direction, n);
                  efl_ui_focus_manager_focus(obj, new_candidate);
+                 candidate = new_candidate;
                }
              else
                {
@@ -1162,6 +1163,7 @@ _efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, 
Efl_Ui_Focus_Manager_Data *pd, E
                        //redirect does not have smth. but we do have.
                        efl_ui_focus_manager_focus(obj, new_candidate);
                     }
+                 candidate = new_candidate;
                }
 
           }

-- 


Reply via email to