mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
input: disallow virtual keyboards from changing LED state (#10402)
This commit is contained in:
parent
59b2340680
commit
a51e639d81
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user