Yep, this is correct.<div><br></div><div>(I'll get back to the other thread shortly.)</div><div><br></div><div>-d<span></span><br><br>On Thursday, November 20, 2014, Giulio Camuffo <<a href="mailto:giuliocamuffo@gmail.com">giuliocamuffo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When getting the focus we get the list of pressed keys, but we are<br>
not supposed to run the key binding on them.<br>
---<br>
src/input.c | 6 ------<br>
1 file changed, 6 deletions(-)<br>
<br>
diff --git a/src/input.c b/src/input.c<br>
index 80aa34e..15ff6ed 100644<br>
--- a/src/input.c<br>
+++ b/src/input.c<br>
@@ -1404,12 +1404,6 @@ notify_keyboard_focus_in(struct weston_seat *seat, struct wl_array *keys,<br>
WL_KEYBOARD_KEY_STATE_PRESSED);<br>
}<br>
<br>
- /* Run key bindings after we've updated the state. */<br>
- wl_array_for_each(k, &keyboard->keys) {<br>
- weston_compositor_run_key_binding(compositor, seat, 0, *k,<br>
- WL_KEYBOARD_KEY_STATE_PRESSED);<br>
- }<br>
-<br>
surface = seat->saved_kbd_focus;<br>
<br>
if (surface) {<br>
--<br>
2.1.3<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'wayland-devel@lists.freedesktop.org')">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</blockquote></div>