diff options
| author | MithicSpirit <rpc01234@gmail.com> | 2025-10-19 07:54:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-19 13:54:27 +0200 |
| commit | 59ff7b2f891d06f4097128faf7027a3863542167 (patch) | |
| tree | 9fe373158653b7588ee0efa036059c3bb21f592c /src/managers/KeybindManager.hpp | |
| parent | ba077d8ff09e38a5b20c5d06d71daab52bbcc36d (diff) | |
dispatchers: add forceidle (#11922)
The forceidle dispatcher resets all ext-idle-notify timers as if the
user had been idle for the specified number of seconds. If a
notification has already fired, but would now be set with a nonzero
delay, then it is reset. Conversely, if a timer has not yet fired, but
would now be set to a nonpositive delay, then it is immediately fired.
This process ignores any existing inhibitors, but timers are otherwise
reset as normal if any new inhibitors are created or destroyed.
Diffstat (limited to 'src/managers/KeybindManager.hpp')
| -rw-r--r-- | src/managers/KeybindManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 45742e78..592588b5 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -237,6 +237,7 @@ class CKeybindManager { static SDispatchResult global(std::string); static SDispatchResult event(std::string); static SDispatchResult setProp(std::string); + static SDispatchResult forceIdle(std::string); friend class CCompositor; friend class CInputManager; |
