mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 00:20:23 -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) {
|
void CInputManager::updateKeyboardsLeds(SP<IKeyboard> pKeyboard) {
|
||||||
if (!pKeyboard)
|
if (!pKeyboard || pKeyboard->isVirtual())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::optional<uint32_t> leds = pKeyboard->getLEDs();
|
std::optional<uint32_t> leds = pKeyboard->getLEDs();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user