bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3571b35a30c715a79e64b89633386b6b23a92652

commit 3571b35a30c715a79e64b89633386b6b23a92652
Author: Marcel Hollerbach <mar...@osg.samsung.com>
Date:   Mon Apr 30 10:51:52 2018 +0200

    efl_ui_focus_manager_calc: drop redirect if there is no candidate
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 6845e1195b..0d29f42a84 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1730,6 +1730,14 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo 
*obj EINA_UNUSED, Efl_Ui
                        efl_ui_focus_manager_focus_set(obj, new_candidate);
                        adjust_redirect_manager = EINA_TRUE;
                     }
+                  else
+                    {
+                       //we set the redirect to NULL since it cannot
+                       //help us, later on the redirect manager can be
+                       //set to the same again, and it is strictly new setted 
up.
+                       efl_ui_focus_manager_redirect_set(obj, NULL);
+                       pd->redirect_entry = NULL;
+                    }
 
                   candidate = new_candidate;
                }

-- 


Reply via email to