Merge branch 'modkeys' into magnifier

This commit is contained in:
Simon Long 2024-05-03 12:10:19 +01:00
commit 9a2279ef7b
4 changed files with 31 additions and 7 deletions

View file

@ -20,6 +20,7 @@ struct keybind {
int keycodes_layout;
struct wl_list actions; /* struct action.link */
struct wl_list link; /* struct rcxml.keybinds */
bool mod_only; /* set if only modifier keys used */
};
/**

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 */