aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_pointer_constraints_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_pointer_constraints_v1.c b/types/wlr_pointer_constraints_v1.c
index 16ecc9ac..1478431e 100644
--- a/types/wlr_pointer_constraints_v1.c
+++ b/types/wlr_pointer_constraints_v1.c
@@ -114,7 +114,7 @@ static void pointer_constraint_commit(
WLR_POINTER_CONSTRAINT_V1_STATE_CURSOR_HINT) {
constraint->current.cursor_hint = constraint->pending.cursor_hint;
}
- constraint->current.committed |= constraint->pending.committed;
+ constraint->current.committed = constraint->pending.committed;
bool updated_region = !!constraint->pending.committed;
constraint->pending.committed = 0;