mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
keyboard: fix type of wlr_keyboard_modifiers.group
This isn't a breaking change since both of these typedefs are uint32_t but this should make things a bit less confusing for readers.
This commit is contained in:
parent
ce89f49b7a
commit
7129eaa1f2
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ struct wlr_keyboard_modifiers {
|
|||
xkb_mod_mask_t depressed;
|
||||
xkb_mod_mask_t latched;
|
||||
xkb_mod_mask_t locked;
|
||||
xkb_mod_mask_t group;
|
||||
xkb_layout_index_t group;
|
||||
};
|
||||
|
||||
struct wlr_keyboard {
|
||||
|
|
|
@ -48,7 +48,7 @@ bool keyboard_modifier_update(struct wlr_keyboard *keyboard) {
|
|||
XKB_STATE_MODS_LATCHED);
|
||||
xkb_mod_mask_t locked = xkb_state_serialize_mods(keyboard->xkb_state,
|
||||
XKB_STATE_MODS_LOCKED);
|
||||
xkb_mod_mask_t group = xkb_state_serialize_layout(keyboard->xkb_state,
|
||||
xkb_layout_index_t group = xkb_state_serialize_layout(keyboard->xkb_state,
|
||||
XKB_STATE_LAYOUT_EFFECTIVE);
|
||||
if (depressed == keyboard->modifiers.depressed &&
|
||||
latched == keyboard->modifiers.latched &&
|
||||
|
|
Loading…
Reference in a new issue