From d6cb4fa8de1e540c58b58d29d1520df296e46d1f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 22 Feb 2023 18:34:08 +0100 Subject: Constify pixman_region32_t for rendering functions --- sway/input/seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/input/seat.c') diff --git a/sway/input/seat.c b/sway/input/seat.c index bff425dd..14931ce0 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1727,7 +1727,7 @@ void seatop_end(struct sway_seat *seat) { } void seatop_render(struct sway_seat *seat, struct sway_output *output, - pixman_region32_t *damage) { + const pixman_region32_t *damage) { if (seat->seatop_impl->render) { seat->seatop_impl->render(seat, output, damage); } -- cgit v1.2.3-54-g00ecf