mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
input: disallow virtual keyboards from changing LED state (#10402)
This commit is contained in:
@@ -1368,7 +1368,7 @@ void CInputManager::destroyTabletPad(SP<CTabletPad> pad) {
|
||||
}
|
||||
|
||||
void CInputManager::updateKeyboardsLeds(SP<IKeyboard> pKeyboard) {
|
||||
if (!pKeyboard)
|
||||
if (!pKeyboard || pKeyboard->isVirtual())
|
||||
return;
|
||||
|
||||
std::optional<uint32_t> leds = pKeyboard->getLEDs();
|
||||
|
Reference in New Issue
Block a user