summaryrefslogtreecommitdiff
path: root/src/protocols/PointerConstraints.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-06-29 00:18:18 +0200
committerVaxry <vaxry@vaxry.net>2024-06-29 00:18:24 +0200
commitd16c6aa1db52a0ee60ca1f53a9aa9ed1a2537ff2 (patch)
treeb54bf92d42255b8847b8ebb5c36f7f0d4fda2083 /src/protocols/PointerConstraints.hpp
parentac11771348146087eb577d20162ec10a81358a7e (diff)
pointer-constraint: set lifetime correctly
ref #6679
Diffstat (limited to 'src/protocols/PointerConstraints.hpp')
-rw-r--r--src/protocols/PointerConstraints.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/PointerConstraints.hpp b/src/protocols/PointerConstraints.hpp
index faf28b32..35d60632 100644
--- a/src/protocols/PointerConstraints.hpp
+++ b/src/protocols/PointerConstraints.hpp
@@ -16,8 +16,8 @@ class CWLSurfaceResource;
class CPointerConstraint {
public:
- CPointerConstraint(SP<CZwpLockedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region, zwpPointerConstraintsV1Lifetime lifetime);
- CPointerConstraint(SP<CZwpConfinedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region, zwpPointerConstraintsV1Lifetime lifetime);
+ CPointerConstraint(SP<CZwpLockedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region, zwpPointerConstraintsV1Lifetime lifetime_);
+ CPointerConstraint(SP<CZwpConfinedPointerV1> resource_, SP<CWLSurfaceResource> surf, wl_resource* region, zwpPointerConstraintsV1Lifetime lifetime_);
~CPointerConstraint();
bool good();