mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-19 03:54:18 +02:00
Fix bug in consumed modifier handling
This commit is contained in:
parent
8eeb6b0373
commit
6ff175b048
1 changed files with 1 additions and 1 deletions
2
seat.c
2
seat.c
|
|
@ -337,7 +337,7 @@ handle_key_event(struct cg_keyboard *keyboard, void *data) {
|
|||
xkb_mod_mask_t consumed_modifiers =
|
||||
xkb_state_key_get_consumed_mods2(
|
||||
keyboard->device->keyboard->xkb_state, keycode,
|
||||
XKB_CONSUMED_MODE_XKB);
|
||||
XKB_CONSUMED_MODE_GTK);
|
||||
if(handle_command_key_bindings(seat->server, syms[i],
|
||||
modifiers & ~consumed_modifiers,
|
||||
seat->mode, keyboard)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue