Only respond to modifier-only keybindings on release

This commit is contained in:
Simon Long 2024-04-26 11:05:12 +01:00
parent 32929e8ab5
commit 1a9885aa52
4 changed files with 22 additions and 7 deletions

View file

@ -20,5 +20,6 @@ void keyboard_set_numlock(struct wlr_keyboard *keyboard);
void keyboard_update_layout(struct seat *seat, xkb_layout_index_t layout);
void keyboard_cancel_keybind_repeat(struct keyboard *keyboard);
bool keyboard_any_modifiers_pressed(struct wlr_keyboard *keyboard);
bool keyboard_is_modifier_key(xkb_keysym_t sym);
#endif /* LABWC_KEYBOARD_H */