mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 18:49:47 +01:00
fix small ub in keyboard
This commit is contained in:
parent
137913025b
commit
940fe9fd47
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