projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bef237
)
input: don't run the key bindings on focus in
author
Giulio Camuffo
<giuliocamuffo@gmail.com>
Thu, 20 Nov 2014 21:03:22 +0000
(23:03 +0200)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Mon, 24 Nov 2014 11:44:06 +0000
(13:44 +0200)
When getting the focus we get the list of pressed keys, but we are
not supposed to run the key binding on them.
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
80aa34e
..
15ff6ed
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-1404,12
+1404,6
@@
notify_keyboard_focus_in(struct weston_seat *seat, struct wl_array *keys,
WL_KEYBOARD_KEY_STATE_PRESSED);
}
- /* Run key bindings after we've updated the state. */
- wl_array_for_each(k, &keyboard->keys) {
- weston_compositor_run_key_binding(compositor, seat, 0, *k,
- WL_KEYBOARD_KEY_STATE_PRESSED);
- }
-
surface = seat->saved_kbd_focus;
if (surface) {