summaryrefslogtreecommitdiff
path: root/src/protocols/IdleInhibit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/IdleInhibit.hpp')
-rw-r--r--src/protocols/IdleInhibit.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocols/IdleInhibit.hpp b/src/protocols/IdleInhibit.hpp
index 3ea8f691..b59e8789 100644
--- a/src/protocols/IdleInhibit.hpp
+++ b/src/protocols/IdleInhibit.hpp
@@ -33,7 +33,8 @@ class CIdleInhibitorResource {
private:
SP<CZwpIdleInhibitorV1> resource;
- wlr_surface* surface = nullptr;
+ wlr_surface* surface = nullptr;
+ bool destroySent = false;
DYNLISTENER(surfaceDestroy);
};