mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 09:26:00 +01:00
don't accumulate from virtual
This commit is contained in:
parent
cb839c9dcc
commit
d6c06318af
1 changed files with 3 additions and 0 deletions
|
@ -964,6 +964,9 @@ uint32_t CInputManager::accumulateModsFromAllKBs() {
|
||||||
uint32_t finalMask = 0;
|
uint32_t finalMask = 0;
|
||||||
|
|
||||||
for (auto& kb : m_lKeyboards) {
|
for (auto& kb : m_lKeyboards) {
|
||||||
|
if (kb.isVirtual)
|
||||||
|
continue;
|
||||||
|
|
||||||
finalMask |= wlr_keyboard_get_modifiers(wlr_keyboard_from_input_device(kb.keyboard));
|
finalMask |= wlr_keyboard_get_modifiers(wlr_keyboard_from_input_device(kb.keyboard));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue