diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-04 19:14:49 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-12-25 10:36:26 +0000 |
commit | df27b29d496bdb3869b266482610c6c924b674aa (patch) | |
tree | 67cbcafc92e12e5eb082da20777329e686bed862 | |
parent | f3e1f7b2a70a500b740bfc406e893eba0852699a (diff) | |
download | wlroots-df27b29d496bdb3869b266482610c6c924b674aa.tar.xz |
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.
-rw-r--r-- | types/wlr_compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_compositor.c b/types/wlr_compositor.c index a3e02655..c83d356a 100644 --- a/types/wlr_compositor.c +++ b/types/wlr_compositor.c @@ -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; |