aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-04 19:14:49 +0100
committerSimon Ser <contact@emersion.fr>2023-12-25 10:36:26 +0000
commitdf27b29d496bdb3869b266482610c6c924b674aa (patch)
tree67cbcafc92e12e5eb082da20777329e686bed862
parentf3e1f7b2a70a500b740bfc406e893eba0852699a (diff)
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.c2
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;