mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
OSD: fix stuck OSD when NumLock or CapsLock are activated
This commit is contained in:
parent
64cc0b91e8
commit
57cc72b49e
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ any_modifiers_pressed(struct wlr_keyboard *keyboard)
|
||||||
for (i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
|
for (i = 0; i < xkb_keymap_num_mods(keyboard->keymap); i++) {
|
||||||
if (xkb_state_mod_index_is_active
|
if (xkb_state_mod_index_is_active
|
||||||
(keyboard->xkb_state, i,
|
(keyboard->xkb_state, i,
|
||||||
XKB_STATE_MODS_EFFECTIVE)) {
|
XKB_STATE_MODS_DEPRESSED)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue