bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3e726c364bcdf23437b4d30ed5b177a0e45aca7f

commit 3e726c364bcdf23437b4d30ed5b177a0e45aca7f
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Oct 24 17:27:10 2017 +0200

    efl_ui_focus_manager: reset when a redirect is unset
    
    this keeps the history clear
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index a254566bce..4131b31c71 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -880,6 +880,8 @@ 
_efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Foc
    if (pd->redirect)
      efl_wref_add(pd->redirect, &pd->redirect);
 
+   efl_ui_focus_manager_reset_history(old_manager);
+
    efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED , 
old_manager);
 }
 

-- 


Reply via email to