Compare commits

...

3 Commits

Author SHA1 Message Date
Gregory 153c6c72f0
Merge 0b1396558f into ac11771348 2024-06-28 15:41:11 -05:00
Trianta 0b1396558f pointer-constraint: default to persistent lifetime instead 2024-06-27 20:16:13 -05:00
Trianta f7cc1c539d pointer-constraints: keep constraint alive until actual destruction 2024-06-26 22:18:31 -05:00
1 changed files with 2 additions and 2 deletions

View File

@ -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<CPointerConstraintsProtocol> constraints;
};
};