From df27b29d496bdb3869b266482610c6c924b674aa Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Dec 2023 19:14:49 +0100 Subject: [PATCH] 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. --- types/wlr_compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;