summaryrefslogtreecommitdiff
path: root/src/protocols/IdleInhibit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/IdleInhibit.cpp')
-rw-r--r--src/protocols/IdleInhibit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/IdleInhibit.cpp b/src/protocols/IdleInhibit.cpp
index a015cdd0..b8ba01e2 100644
--- a/src/protocols/IdleInhibit.cpp
+++ b/src/protocols/IdleInhibit.cpp
@@ -6,7 +6,7 @@ CIdleInhibitor::CIdleInhibitor(SP<CIdleInhibitorResource> resource_, SP<CWLSurfa
}
CIdleInhibitorResource::CIdleInhibitorResource(SP<CZwpIdleInhibitorV1> resource_, SP<CWLSurfaceResource> surface_) : resource(resource_), surface(surface_) {
- listeners.destroySurface = surface->events.destroy.registerListener([this](std::any d) {
+ listeners.destroySurface = surface->m_events.destroy.registerListener([this](std::any d) {
surface.reset();
listeners.destroySurface.reset();
destroySent = true;