aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-11 14:46:13 +0100
committerSimon Ser <contact@emersion.fr>2023-12-25 11:43:41 +0100
commitcd157a0bd96acf9bf444cd46ca67c4257821de9b (patch)
treef6178719aaee829df3ce7e0b6e70785572d7d035
parentda5f53b46176f05731e94dec5f079c1ce7a57ed5 (diff)
compositor: adjust surface_state_move() comment
-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 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) {