summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 13:33:31 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 13:33:31 -0400
commitf25b2ab43438b98fe101b84656e3320d3e60c809 (patch)
tree936fee0216647739accb9f6020f57c055b312d82
parent89deb898ad3e7a7f075071378af27a290d3753cb (diff)
toggle compositor canvas focus during init
this sets the toplevel focus flag in elm, allowing widgets on the compositor canvas to receive focus in wayland compositors
-rw-r--r--src/bin/e_comp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index d0b3e56e0..4247099fb 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1161,6 +1161,8 @@ out:
1161 e_comp->elm = elm_win_fake_add(e_comp->ee); 1161 e_comp->elm = elm_win_fake_add(e_comp->ee);
1162 evas_object_event_callback_add(e_comp->elm, EVAS_CALLBACK_RESIZE, _e_comp_resize, NULL); 1162 evas_object_event_callback_add(e_comp->elm, EVAS_CALLBACK_RESIZE, _e_comp_resize, NULL);
1163 elm_win_fullscreen_set(e_comp->elm, 1); 1163 elm_win_fullscreen_set(e_comp->elm, 1);
1164 ecore_evas_focus_set(e_comp->ee, 0);
1165 ecore_evas_focus_set(e_comp->ee, 1);
1164 evas_object_show(e_comp->elm); 1166 evas_object_show(e_comp->elm);
1165 e_util_env_set("HYBRIS_EGLPLATFORM", NULL); 1167 e_util_env_set("HYBRIS_EGLPLATFORM", NULL);
1166 E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, _e_comp_screensaver_on, NULL); 1168 E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, _e_comp_screensaver_on, NULL);