projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a832bb8
)
append new keyboard resources for wayland focused-client to the focused list
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 21 Oct 2015 18:05:02 +0000
(14:05 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 21 Oct 2015 18:06:31 +0000
(14:06 -0400)
fixes all cases where applications would fail to receive focus initially
and then be permanently broken
src/bin/e_comp_wl_input.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_input.c
b/src/bin/e_comp_wl_input.c
index
6df3fa6
..
7aa0dcd
100644
(file)
--- 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);
}