mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:05:58 +01:00
input: don't post idle activity when keyboard is not enabled
This commit is contained in:
parent
4c9607e78e
commit
d257da285f
1 changed files with 4 additions and 2 deletions
|
@ -877,6 +877,7 @@ void CInputManager::setupKeyboard(SP<IKeyboard> keeb) {
|
|||
|
||||
onKeyboardKey(data, PKEEB);
|
||||
|
||||
if (PKEEB->enabled)
|
||||
PROTO::idle->onActivity();
|
||||
},
|
||||
keeb.get());
|
||||
|
@ -887,6 +888,7 @@ void CInputManager::setupKeyboard(SP<IKeyboard> keeb) {
|
|||
|
||||
onKeyboardMod(PKEEB);
|
||||
|
||||
if (PKEEB->enabled)
|
||||
PROTO::idle->onActivity();
|
||||
},
|
||||
keeb.get());
|
||||
|
|
Loading…
Reference in a new issue