mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
pointer-constraints-v1: reset committed on commit
Knowing which fields changed in the last commit is more useful than knowing which fields were ever set on the surface.
This commit is contained in:
parent
85f44f3684
commit
da5f53b461
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue