summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-01-10 01:36:27 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-01-10 01:36:27 -0500
commit12c9f25336d015f36c513e359d6d69a2c76ba82f (patch)
tree4b802e170a13f2b51f83d06413717210e96805b6
parentbe44ce3d09be745ab68cc8514209144a9a631026 (diff)
ELM_WIN_FAKE types should allow focus callbacks on windows
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 3de1efd63..91ea90b1e 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -3470,12 +3470,12 @@ _elm_win_constructor(Eo *obj, Elm_Win_Data *sd, const char *name, Elm_Win_Type t
3470 TRAP(sd, name_class_set, name, _elm_appname); 3470 TRAP(sd, name_class_set, name, _elm_appname);
3471 ecore_evas_callback_delete_request_set(sd->ee, _elm_win_delete_request); 3471 ecore_evas_callback_delete_request_set(sd->ee, _elm_win_delete_request);
3472 ecore_evas_callback_state_change_set(sd->ee, _elm_win_state_change); 3472 ecore_evas_callback_state_change_set(sd->ee, _elm_win_state_change);
3473 ecore_evas_callback_focus_in_set(sd->ee, _elm_win_focus_in);
3474 ecore_evas_callback_focus_out_set(sd->ee, _elm_win_focus_out);
3473 if (type != ELM_WIN_FAKE) 3475 if (type != ELM_WIN_FAKE)
3474 { 3476 {
3475 ecore_evas_callback_resize_set(sd->ee, _elm_win_resize); 3477 ecore_evas_callback_resize_set(sd->ee, _elm_win_resize);
3476 ecore_evas_callback_mouse_in_set(sd->ee, _elm_win_mouse_in); 3478 ecore_evas_callback_mouse_in_set(sd->ee, _elm_win_mouse_in);
3477 ecore_evas_callback_focus_in_set(sd->ee, _elm_win_focus_in);
3478 ecore_evas_callback_focus_out_set(sd->ee, _elm_win_focus_out);
3479 ecore_evas_callback_move_set(sd->ee, _elm_win_move); 3479 ecore_evas_callback_move_set(sd->ee, _elm_win_move);
3480 } 3480 }
3481 evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _elm_win_cb_hide, NULL); 3481 evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _elm_win_cb_hide, NULL);