discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=28b022d033ecf93cd4efd092055c05d135d1a29b

commit 28b022d033ecf93cd4efd092055c05d135d1a29b
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Oct 21 14:05:02 2015 -0400

    append new keyboard resources for wayland focused-client to the focused list
    
    fixes all cases where applications would fail to receive focus initially
    and then be permanently broken
---
 src/bin/e_comp_wl_input.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 6df3fa6..7aa0dcd 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -194,6 +194,9 @@ _e_comp_wl_input_cb_keyboard_get(struct wl_client *client, 
struct wl_resource *r
    focused = e_client_focused_get();
    if (!focused) return;
 
+   if (client != wl_resource_get_client(focused->comp_data->surface)) return;
+   e_comp_wl->kbd.focused = eina_list_append(e_comp_wl->kbd.focused, res);
+
    e_comp_wl_input_keyboard_enter_send(focused);
 }
 

-- 


Reply via email to