mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
don't accumulate from virtual
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user