pointer-constraints: keep constraint alive until actual destruction

This commit is contained in:
Trianta 2024-06-26 22:18:31 -05:00
parent e4d09aa3a9
commit f7cc1c539d
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,7 @@ void CPointerConstraint::deactivate() {
active = false;
/* Requires additional lifetime implementations
if (lifetime == ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ONESHOT) {
dead = true;
// remove from inputmgr
@ -120,6 +121,7 @@ void CPointerConstraint::deactivate() {
return !SHP || SHP.get() == this;
});
}
*/
}
void CPointerConstraint::activate() {