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.
master
Simon Ser 1 year ago
parent f3e1f7b2a7
commit df27b29d49

@ -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…
Cancel
Save