summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2016-04-16 10:37:34 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2016-04-16 10:37:34 +0900
commitf24dce9bc9da97170d9c1df423be33d069433933 (patch)
treedc16f0a4ae9e6db94a57156903ff9ae2d7612d53
parentb090763a1a25f3bff457473884181eef7bba63f8 (diff)
elm_win: remove duplicated focused/unfocused event call
These are already called in elm_widget's on_focus. @fix
-rw-r--r--src/lib/elementary/elm_win.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_win.c b/src/lib/elementary/elm_win.c
index c93c8190d5..ba8089bca3 100644
--- a/src/lib/elementary/elm_win.c
+++ b/src/lib/elementary/elm_win.c
@@ -1116,7 +1116,6 @@ _elm_win_focus_in(Ecore_Evas *ee)
1116 // FIXME: the event is deprecated but still in use. 1116 // FIXME: the event is deprecated but still in use.
1117 // Has to be removed in EFL2.0 1117 // Has to be removed in EFL2.0
1118 evas_object_smart_callback_call(obj, SIG_FOCUS_IN, NULL); 1118 evas_object_smart_callback_call(obj, SIG_FOCUS_IN, NULL);
1119 eo_event_callback_call(obj, ELM_WIDGET_EVENT_FOCUSED, NULL);
1120 sd->focus_highlight.cur.visible = EINA_TRUE; 1119 sd->focus_highlight.cur.visible = EINA_TRUE;
1121 _elm_win_focus_highlight_reconfigure_job_start(sd); 1120 _elm_win_focus_highlight_reconfigure_job_start(sd);
1122 if (sd->frame_obj) 1121 if (sd->frame_obj)
@@ -1151,7 +1150,6 @@ _elm_win_focus_out(Ecore_Evas *ee)
1151 // FIXME: the event is deprecated but still in use. 1150 // FIXME: the event is deprecated but still in use.
1152 // Has to be removed in EFL2.0 1151 // Has to be removed in EFL2.0
1153 evas_object_smart_callback_call(obj, SIG_FOCUS_OUT, NULL); 1152 evas_object_smart_callback_call(obj, SIG_FOCUS_OUT, NULL);
1154 eo_event_callback_call(obj, ELM_WIDGET_EVENT_UNFOCUSED, NULL);
1155 sd->focus_highlight.cur.visible = EINA_FALSE; 1153 sd->focus_highlight.cur.visible = EINA_FALSE;
1156 _elm_win_focus_highlight_reconfigure_job_start(sd); 1154 _elm_win_focus_highlight_reconfigure_job_start(sd);
1157 if (sd->frame_obj) 1155 if (sd->frame_obj)