mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05: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);
|
wl_list_init(&next->frame_callback_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
state->committed |= next->committed;
|
state->committed = next->committed;
|
||||||
next->committed = 0;
|
next->committed = 0;
|
||||||
|
|
||||||
state->seq = next->seq;
|
state->seq = next->seq;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue