diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 66015d5b..e3d9ab1d 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -964,6 +964,9 @@ uint32_t CInputManager::accumulateModsFromAllKBs() { uint32_t finalMask = 0; for (auto& kb : m_lKeyboards) { + if (kb.isVirtual) + continue; + finalMask |= wlr_keyboard_get_modifiers(wlr_keyboard_from_input_device(kb.keyboard)); }