mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 07:49:49 +01:00
fix small ub in keyboard
This commit is contained in:
parent
c03f25e6fb
commit
360673ed62
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ void IKeyboard::setKeymap(const SStringRuleNames& rules) {
|
||||||
|
|
||||||
for (size_t i = 0; i < LEDNAMES.size(); ++i) {
|
for (size_t i = 0; i < LEDNAMES.size(); ++i) {
|
||||||
ledIndexes.at(i) = xkb_map_led_get_index(xkbKeymap, LEDNAMES.at(i));
|
ledIndexes.at(i) = xkb_map_led_get_index(xkbKeymap, LEDNAMES.at(i));
|
||||||
Debug::log(LOG, "xkb: LED index {} (name {}) got index {}", i, LEDNAMES.at(i), modIndexes.at(i));
|
Debug::log(LOG, "xkb: LED index {} (name {}) got index {}", i, LEDNAMES.at(i), ledIndexes.at(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i = 0; i < MODNAMES.size(); ++i) {
|
for (size_t i = 0; i < MODNAMES.size(); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue