forked from enlightenment/efl
efl_ui_focus_manager: reset when a redirect is unset
this keeps the history clear
This commit is contained in:
parent
62e46e70ef
commit
3e726c364b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue