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 /sway/input/seat.c | |
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 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
1727 | } | 1727 | } |
1728 | 1728 | ||
1729 | void seatop_render(struct sway_seat *seat, struct sway_output *output, | 1729 | void seatop_render(struct sway_seat *seat, struct sway_output *output, |
1730 | pixman_region32_t *damage) { | 1730 | const pixman_region32_t *damage) { |
1731 | if (seat->seatop_impl->render) { | 1731 | if (seat->seatop_impl->render) { |
1732 | seat->seatop_impl->render(seat, output, damage); | 1732 | seat->seatop_impl->render(seat, output, damage); |
1733 | } | 1733 | } |