diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 4 | ||||
-rw-r--r-- | include/sway/output.h | 2 |
2 files changed, 3 insertions, 3 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 | ||
diff --git a/include/sway/output.h b/include/sway/output.h index 28be6a1e..da625315 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -167,7 +167,7 @@ enum sway_container_layout output_get_default_layout( | |||
167 | struct sway_output *output); | 167 | struct sway_output *output); |
168 | 168 | ||
169 | void render_rect(struct sway_output *output, | 169 | void render_rect(struct sway_output *output, |
170 | pixman_region32_t *output_damage, const struct wlr_box *_box, | 170 | const pixman_region32_t *output_damage, const struct wlr_box *_box, |
171 | float color[static 4]); | 171 | float color[static 4]); |
172 | 172 | ||
173 | void premultiply_alpha(float color[4], float opacity); | 173 | void premultiply_alpha(float color[4], float opacity); |