summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorSungyoon Cho <sungyoon@sungyooncho.dev>2024-05-05 22:04:40 +0900
committerGitHub <noreply@github.com>2024-05-05 14:04:40 +0100
commit03ebad3cbff0999af885c03e83a506a9d9cb5919 (patch)
treeacb2f34d4a868e33122823d3cf5491259a02bb25 /src/managers/input/InputManager.hpp
parentaaf35b9f1f0ce49080f2a0b1e7943336b1ba6057 (diff)
idle-inhibit: enable idle inhibitor if no hl surface is associated (#5882)
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index 719e19c6..329748b2 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -242,7 +242,7 @@ class CInputManager {
// idle inhibitors
struct SIdleInhibitor {
std::shared_ptr<CIdleInhibitor> inhibitor;
- bool inert = false;
+ bool nonDesktop = false;
CHyprSignalListener surfaceDestroyListener;
};
std::vector<std::unique_ptr<SIdleInhibitor>> m_vIdleInhibitors;