ami pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=d6525a9c0ea58915a21362c2bce67117280151a5
commit d6525a9c0ea58915a21362c2bce67117280151a5 Author: Amitesh Singh <amitesh...@samsung.com> Date: Fri Feb 26 19:55:31 2016 +0530 entry: send focus/unfocus signals to scroller interface In case of scrollable entry, send focus/unfocus signals to scroller interface edje. --- src/lib/elm_entry.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 3165847..e22fe46 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -858,7 +858,11 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd) evas_object_ref(obj); if (elm_widget_focus_get(obj)) - edje_object_signal_emit(sd->entry_edje, "elm,action,focus", "elm"); + { + edje_object_signal_emit(sd->entry_edje, "elm,action,focus", "elm"); + if (sd->scroll) + edje_object_signal_emit(sd->scr_edje, "elm,action,focus", "elm"); + } edje_object_message_signal_process(sd->entry_edje); @@ -1179,6 +1183,9 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite { evas_object_focus_set(sd->entry_edje, EINA_TRUE); edje_object_signal_emit(sd->entry_edje, "elm,action,focus", "elm"); + if (sd->scroll) + edje_object_signal_emit(sd->scr_edje, "elm,action,focus", "elm"); + if (top && top_is_win && sd->input_panel_enable && !sd->input_panel_show_on_demand && !edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text")) elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); @@ -1191,6 +1198,8 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite else { edje_object_signal_emit(sd->entry_edje, "elm,action,unfocus", "elm"); + if (sd->scroll) + edje_object_signal_emit(sd->scr_edje, "elm,action,unfocus", "elm"); evas_object_focus_set(sd->entry_edje, EINA_FALSE); if (top && top_is_win && sd->input_panel_enable && !edje_object_part_text_imf_context_get(sd->entry_edje, "elm.text")) --