mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 15:48:05 +02:00
input: don't run the key bindings on focus in
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>
This commit is contained in:
parent
6bef237943
commit
fde9490d7e
1 changed files with 0 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue