diff --git a/src/protocols/PointerConstraints.hpp b/src/protocols/PointerConstraints.hpp index 35d60632..e26cc347 100644 --- a/src/protocols/PointerConstraints.hpp +++ b/src/protocols/PointerConstraints.hpp @@ -46,7 +46,7 @@ class CPointerConstraint { bool active = false; bool locked = false; bool dead = false; - zwpPointerConstraintsV1Lifetime lifetime = ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ONESHOT; + zwpPointerConstraintsV1Lifetime lifetime = ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_PERSISTENT; void sharedConstructions(); void onSetRegion(wl_resource* region); @@ -78,4 +78,4 @@ class CPointerConstraintsProtocol : public IWaylandProtocol { namespace PROTO { inline UP constraints; -}; \ No newline at end of file +};