jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f7915a5e6f38075724d1e1a8b6f24e0c2343f709
commit f7915a5e6f38075724d1e1a8b6f24e0c2343f709 Author: Daniel Zaoui <daniel.za...@samsung.com> Date: Mon Jul 6 14:38:34 2015 +0300 Win: fix ABI issue Even if focus,in/out is deprecated and should be replaced with focused/unfocused, the event has to be triggered. --- src/lib/elm_win.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index b3b1536..05ed910 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1080,6 +1080,9 @@ _elm_win_focus_in(Ecore_Evas *ee) else elm_widget_focus_restore(obj); } + // FIXME: the event is deprecated but still in use. + // Has to be removed in EFL2.0 + evas_object_smart_callback_call(obj, SIG_FOCUS_IN, NULL); eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_FOCUSED, NULL)); sd->focus_highlight.cur.visible = EINA_TRUE; _elm_win_focus_highlight_reconfigure_job_start(sd); @@ -1112,6 +1115,9 @@ _elm_win_focus_out(Ecore_Evas *ee) elm_object_focus_set(obj, EINA_FALSE); _elm_widget_top_win_focused_set(obj, EINA_FALSE); + // FIXME: the event is deprecated but still in use. + // Has to be removed in EFL2.0 + evas_object_smart_callback_call(obj, SIG_FOCUS_OUT, NULL); eo_do(obj, eo_event_callback_call(ELM_WIDGET_EVENT_UNFOCUSED, NULL)); sd->focus_highlight.cur.visible = EINA_FALSE; _elm_win_focus_highlight_reconfigure_job_start(sd); --