mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 05:18:01 +02:00
compositor: Don't run keybindings if we have a key grab
This commit is contained in:
parent
ec286eb8e8
commit
afa264c6b6
1 changed files with 3 additions and 1 deletions
|
|
@ -1444,7 +1444,9 @@ notify_key(struct wl_input_device *device,
|
|||
weston_compositor_idle_release(compositor);
|
||||
}
|
||||
|
||||
weston_compositor_run_binding(compositor, wd, time, key, 0, state);
|
||||
if (device->keyboard_grab == &device->default_keyboard_grab)
|
||||
weston_compositor_run_binding(compositor, wd,
|
||||
time, key, 0, state);
|
||||
|
||||
update_modifier_state(wd, key, state);
|
||||
end = device->keys.data + device->keys.size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue