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:
Simon Ser 2023-12-04 19:14:49 +01:00
parent f3e1f7b2a7
commit df27b29d49
1 changed files with 1 additions and 1 deletions

View File

@ -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;