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/seatop_move_tiling.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/seatop_move_tiling.c')
-rw-r--r-- | sway/input/seatop_move_tiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c index 223c6c08..5498e909 100644 --- a/sway/input/seatop_move_tiling.c +++ b/sway/input/seatop_move_tiling.c | |||
@@ -32,7 +32,7 @@ struct seatop_move_tiling_event { | |||
32 | }; | 32 | }; |
33 | 33 | ||
34 | static void handle_render(struct sway_seat *seat, | 34 | static void handle_render(struct sway_seat *seat, |
35 | struct sway_output *output, pixman_region32_t *damage) { | 35 | struct sway_output *output, const pixman_region32_t *damage) { |
36 | struct seatop_move_tiling_event *e = seat->seatop_data; | 36 | struct seatop_move_tiling_event *e = seat->seatop_data; |
37 | if (!e->threshold_reached) { | 37 | if (!e->threshold_reached) { |
38 | return; | 38 | return; |