From 59ff7b2f891d06f4097128faf7027a3863542167 Mon Sep 17 00:00:00 2001 From: MithicSpirit Date: Sun, 19 Oct 2025 07:54:27 -0400 Subject: 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. --- src/managers/KeybindManager.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/managers/KeybindManager.hpp') 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; -- cgit v1.2.3