diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-04 23:46:10 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-04 23:46:10 +0100 |
| commit | 0b215c5f246d3fde6c023e78b3e3579f7498c172 (patch) | |
| tree | b4449e42b8deb0efc259b463307e2f1e69335dc0 /src/managers/input/InputManager.hpp | |
| parent | a3309b51a254f142c535022615be6f76eb23fa9b (diff) | |
idle-inhibit: fix and cleanup visibility logic
fixes #5878
Diffstat (limited to 'src/managers/input/InputManager.hpp')
| -rw-r--r-- | src/managers/input/InputManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp index 98032dd4..719e19c6 100644 --- a/src/managers/input/InputManager.hpp +++ b/src/managers/input/InputManager.hpp @@ -242,8 +242,8 @@ class CInputManager { // idle inhibitors struct SIdleInhibitor { std::shared_ptr<CIdleInhibitor> inhibitor; - PHLWINDOWREF pWindow; - CHyprSignalListener windowDestroyListener; + bool inert = false; + CHyprSignalListener surfaceDestroyListener; }; std::vector<std::unique_ptr<SIdleInhibitor>> m_vIdleInhibitors; |
