From 02d7badd15601e52547e2f3e1c594ceede0a0455 Mon Sep 17 00:00:00 2001 From: davc0n Date: Fri, 25 Apr 2025 02:37:12 +0200 Subject: workspaces: refactor class member vars (#10167) --- src/protocols/PointerConstraints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocols/PointerConstraints.cpp') diff --git a/src/protocols/PointerConstraints.cpp b/src/protocols/PointerConstraints.cpp index b4868b56..c25dfdee 100644 --- a/src/protocols/PointerConstraints.cpp +++ b/src/protocols/PointerConstraints.cpp @@ -75,12 +75,12 @@ CPointerConstraint::~CPointerConstraint() { }); if (pHLSurface) - pHLSurface->m_pConstraint.reset(); + pHLSurface->m_constraint.reset(); } void CPointerConstraint::sharedConstructions() { if (pHLSurface) { - listeners.destroySurface = pHLSurface->events.destroy.registerListener([this](std::any d) { + listeners.destroySurface = pHLSurface->m_events.destroy.registerListener([this](std::any d) { pHLSurface.reset(); if (active) deactivate(); -- cgit v1.2.3