From d6cb4fa8de1e540c58b58d29d1520df296e46d1f Mon Sep 17 00:00:00 2001
From: Simon Ser <contact@emersion.fr>
Date: Wed, 22 Feb 2023 18:34:08 +0100
Subject: Constify pixman_region32_t for rendering functions

---
 include/sway/input/seat.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'include/sway/input')

diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 227da78b..7b2d3d07 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -50,7 +50,7 @@ struct sway_seatop_impl {
 	void (*end)(struct sway_seat *seat);
 	void (*unref)(struct sway_seat *seat, struct sway_container *con);
 	void (*render)(struct sway_seat *seat, struct sway_output *output,
-			pixman_region32_t *damage);
+			const pixman_region32_t *damage);
 	bool allow_set_cursor;
 };
 
@@ -357,7 +357,7 @@ void seatop_unref(struct sway_seat *seat, struct sway_container *con);
  * (eg. dropzone for move-tiling)
  */
 void seatop_render(struct sway_seat *seat, struct sway_output *output,
-		pixman_region32_t *damage);
+		const pixman_region32_t *damage);
 
 bool seatop_allows_set_cursor(struct sway_seat *seat);
 
-- 
cgit v1.2.3