compositor: Don't run keybindings if we have a key grab
This commit is contained in:
parent
ec286eb8e8
commit
afa264c6b6
@ -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…
Reference in New Issue
Block a user