input: fix modifier and leds (#6062)
This commit is contained in:
parent
1584679004
commit
d0a4a0e0d8
5 changed files with 36 additions and 8 deletions
|
|
@ -53,7 +53,8 @@ void CInputMethodKeyboardGrabV2::sendKeyboardData(wlr_keyboard* keyboard) {
|
|||
|
||||
close(keymapFD);
|
||||
|
||||
sendMods(0, 0, 0, 0);
|
||||
const auto MODS = keyboard->modifiers;
|
||||
sendMods(MODS.depressed, MODS.latched, MODS.locked, MODS.group);
|
||||
|
||||
resource->sendRepeatInfo(keyboard->repeat_info.rate, keyboard->repeat_info.delay);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue