mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
compositor: reset wlr_surface.current.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
f3e1f7b2a7
commit
df27b29d49
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ static void surface_state_move(struct wlr_surface_state *state,
|
|||
wl_list_init(&next->frame_callback_list);
|
||||
}
|
||||
|
||||
state->committed |= next->committed;
|
||||
state->committed = next->committed;
|
||||
next->committed = 0;
|
||||
|
||||
state->seq = next->seq;
|
||||
|
|
Loading…
Reference in a new issue