bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=03efb59da9efae7ba8f9fa8d374bd554f15f5474
commit 03efb59da9efae7ba8f9fa8d374bd554f15f5474 Author: Marcel Hollerbach <[email protected]> Date: Sun Apr 1 20:55:34 2018 +0200 elm_entry: use a normal calc manager instead of the root focus fix T6795 --- src/lib/elementary/elm_entry.c | 9 +++++++++ src/lib/elementary/elm_entry.eo | 1 + 2 files changed, 10 insertions(+) diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c index a62795a708..cededa5c8b 100644 --- a/src/lib/elementary/elm_entry.c +++ b/src/lib/elementary/elm_entry.c @@ -6130,6 +6130,15 @@ _elm_entry_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Ent return &atspi_actions[0]; } +EOLIAN static Efl_Ui_Focus_Manager* +_elm_entry_efl_ui_widget_focus_manager_create(Eo *obj, Elm_Entry_Data *pd EINA_UNUSED, Efl_Ui_Focus_Object *root) +{ + return efl_add(EFL_UI_FOCUS_MANAGER_CALC_CLASS, obj, + efl_ui_focus_manager_root_set(efl_added, root) + ); +} + + /* Efl.Part begin */ ELM_PART_OVERRIDE(elm_entry, ELM_ENTRY, Elm_Entry_Data) diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo index 7a14086b6a..e0ecc9c815 100644 --- a/src/lib/elementary/elm_entry.eo +++ b/src/lib/elementary/elm_entry.eo @@ -844,6 +844,7 @@ class Elm.Entry (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable, Efl.Layout.Calc.calc_force; Efl.Ui.Widget.on_access_activate; Efl.Ui.Widget.theme_apply; + Efl.Ui.Widget.focus_manager_create; Efl.Ui.Focus.Object.on_focus_update; Efl.Ui.Widget.interest_region { get; } Efl.Ui.Widget.on_disabled_update; --
