discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0d20333eb3e2da0aae1c20acfc44e7a13225a211

commit 0d20333eb3e2da0aae1c20acfc44e7a13225a211
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed May 11 13:33:31 2016 -0400

    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
---
 src/bin/e_comp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index afdda77..78f3869 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1156,6 +1156,8 @@ out:
    e_comp->elm = elm_win_fake_add(e_comp->ee);
    evas_object_event_callback_add(e_comp->elm, EVAS_CALLBACK_RESIZE, 
_e_comp_resize, NULL);
    elm_win_fullscreen_set(e_comp->elm, 1);
+   ecore_evas_focus_set(e_comp->ee, 0);
+   ecore_evas_focus_set(e_comp->ee, 1);
    evas_object_show(e_comp->elm);
    e_util_env_set("HYBRIS_EGLPLATFORM", NULL);
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_SCREENSAVER_ON, 
_e_comp_screensaver_on, NULL);

-- 


Reply via email to