From cd157a0bd96acf9bf444cd46ca67c4257821de9b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 11 Dec 2023 14:46:13 +0100 Subject: [PATCH] compositor: adjust surface_state_move() comment --- 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 c83d356a..9269e100 100644 --- a/types/wlr_compositor.c +++ b/types/wlr_compositor.c @@ -273,7 +273,7 @@ static void surface_update_damage(pixman_region32_t *buffer_damage, } /** - * Append pending state to current state and clear pending state. + * Overwrite state with a copy of the next state, then clear the next state. */ static void surface_state_move(struct wlr_surface_state *state, struct wlr_surface_state *next) {