summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-10-24 17:27:10 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-10-24 17:37:31 +0200
commit3e726c364bcdf23437b4d30ed5b177a0e45aca7f (patch)
tree9e93e6e0e3c6616d191f681b292ffafd59fd6381
parent62e46e70ef61c9b3ca0d03d0c595101aca6d537d (diff)
efl_ui_focus_manager: reset when a redirect is unset
this keeps the history clear
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c2
1 files changed, 2 insertions, 0 deletions
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
880 if (pd->redirect) 880 if (pd->redirect)
881 efl_wref_add(pd->redirect, &pd->redirect); 881 efl_wref_add(pd->redirect, &pd->redirect);
882 882
883 efl_ui_focus_manager_reset_history(old_manager);
884
883 efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED , old_manager); 885 efl_event_callback_call(obj, EFL_UI_FOCUS_MANAGER_EVENT_REDIRECT_CHANGED , old_manager);
884} 886}
885 887