From a78ecf089c5d46d5c49efeafde032f420fcb3785 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sat, 23 Sep 2017 22:23:50 +0200 Subject: [PATCH] elm_hover: do not register itself we are already registered as root in that manager --- src/lib/elementary/elm_hover.c | 6 ++++++ src/lib/elementary/elm_hover.eo | 1 + 2 files changed, 7 insertions(+) diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c index 7d51ae7..b02eb97 100644 --- a/src/lib/elementary/elm_hover.c +++ b/src/lib/elementary/elm_hover.c @@ -710,6 +710,12 @@ _elm_hover_elm_widget_focus_manager_create(Eo *obj EINA_UNUSED, Elm_Hover_Data * return manager; } +EOLIAN static Eina_Bool +_elm_hover_elm_widget_focus_state_apply(Eo *obj EINA_UNUSED, Elm_Hover_Data *pd EINA_UNUSED, Elm_Widget_Focus_State current_state EINA_UNUSED, Elm_Widget_Focus_State *configured_state EINA_UNUSED, Elm_Widget *redirect EINA_UNUSED) +{ + return EINA_TRUE; +} + EOLIAN static Eo * _elm_hover_efl_object_constructor(Eo *obj, Elm_Hover_Data *pd) { diff --git a/src/lib/elementary/elm_hover.eo b/src/lib/elementary/elm_hover.eo index dc4dc8d..5f53566 100644 --- a/src/lib/elementary/elm_hover.eo +++ b/src/lib/elementary/elm_hover.eo @@ -71,6 +71,7 @@ class Elm.Hover (Efl.Ui.Layout, Efl.Ui.Clickable, Elm.Interface.Atspi_Widget_Act Elm.Widget.focus_next_manager_is; Elm.Widget.widget_sub_object_del; Elm.Widget.focus_manager_create; + Elm.Widget.focus_state_apply; Elm.Interface.Atspi_Widget_Action.elm_actions { get; } Efl.Part.part; } -- 2.7.4