input: fix modifier and leds (#6062)

This commit is contained in:
Sungyoon Cho
2024-05-15 00:14:43 +09:00
committed by GitHub
parent 1584679004
commit d0a4a0e0d8
5 changed files with 36 additions and 8 deletions

View File

@@ -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);
}