summaryrefslogtreecommitdiff
path: root/src/protocols/PointerConstraints.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/PointerConstraints.cpp')
-rw-r--r--src/protocols/PointerConstraints.cpp4
1 files changed, 2 insertions, 2 deletions
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();