diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-22 18:34:08 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-02-22 13:37:44 -0500 |
commit | d6cb4fa8de1e540c58b58d29d1520df296e46d1f (patch) | |
tree | e12cce906c4470fdd7a78e765f3cc6bc92ec7963 /include/sway/input/seat.h | |
parent | Adjust scale for fractional-scale-v1 (diff) | |
download | sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.tar.gz sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.tar.zst sway-d6cb4fa8de1e540c58b58d29d1520df296e46d1f.zip |
Constify pixman_region32_t for rendering functions
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
50 | void (*end)(struct sway_seat *seat); | 50 | void (*end)(struct sway_seat *seat); |
51 | void (*unref)(struct sway_seat *seat, struct sway_container *con); | 51 | void (*unref)(struct sway_seat *seat, struct sway_container *con); |
52 | void (*render)(struct sway_seat *seat, struct sway_output *output, | 52 | void (*render)(struct sway_seat *seat, struct sway_output *output, |
53 | pixman_region32_t *damage); | 53 | const pixman_region32_t *damage); |
54 | bool allow_set_cursor; | 54 | bool allow_set_cursor; |
55 | }; | 55 | }; |
56 | 56 | ||
@@ -357,7 +357,7 @@ void seatop_unref(struct sway_seat *seat, struct sway_container *con); | |||
357 | * (eg. dropzone for move-tiling) | 357 | * (eg. dropzone for move-tiling) |
358 | */ | 358 | */ |
359 | void seatop_render(struct sway_seat *seat, struct sway_output *output, | 359 | void seatop_render(struct sway_seat *seat, struct sway_output *output, |
360 | pixman_region32_t *damage); | 360 | const pixman_region32_t *damage); |
361 | 361 | ||
362 | bool seatop_allows_set_cursor(struct sway_seat *seat); | 362 | bool seatop_allows_set_cursor(struct sway_seat *seat); |
363 | 363 | ||