From 695d28c2505dff565f5c234056a9ebf35ca96ac9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 19 Dec 2022 10:10:38 +0100 Subject: seat/keyboard: constify wlr_seat_keyboard_notify_modifiers() --- include/wlr/types/wlr_seat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 588bdc63..2f5fd31b 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -116,7 +116,7 @@ struct wlr_keyboard_grab_interface { void (*key)(struct wlr_seat_keyboard_grab *grab, uint32_t time_msec, uint32_t key, uint32_t state); void (*modifiers)(struct wlr_seat_keyboard_grab *grab, - struct wlr_keyboard_modifiers *modifiers); + const struct wlr_keyboard_modifiers *modifiers); void (*cancel)(struct wlr_seat_keyboard_grab *grab); }; @@ -541,7 +541,7 @@ void wlr_seat_keyboard_notify_key(struct wlr_seat *seat, uint32_t time_msec, * any keyboard grabs. */ void wlr_seat_keyboard_notify_modifiers(struct wlr_seat *seat, - struct wlr_keyboard_modifiers *modifiers); + const struct wlr_keyboard_modifiers *modifiers); /** * Notify the seat that the keyboard focus has changed and request it to be the -- cgit v1.2.3