mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00: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
@ -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 New Issue
Block a user