aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c2
-rw-r--r--sway/input/seatop_move_tiling.c2
2 files changed, 2 insertions, 2 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) {
}
void seatop_render(struct sway_seat *seat, struct sway_output *output,
- pixman_region32_t *damage) {
+ const pixman_region32_t *damage) {
if (seat->seatop_impl->render) {
seat->seatop_impl->render(seat, output, damage);
}
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 {
};
static void handle_render(struct sway_seat *seat,
- struct sway_output *output, pixman_region32_t *damage) {
+ struct sway_output *output, const pixman_region32_t *damage) {
struct seatop_move_tiling_event *e = seat->seatop_data;
if (!e->threshold_reached) {
return;