aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-19 10:10:38 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-01-26 15:06:45 +0000
commit695d28c2505dff565f5c234056a9ebf35ca96ac9 (patch)
treec42716e9152739e65bfe490c4073647899640af9 /include
parente44834595df49bfb9a6130b53814c9c805fed5b8 (diff)
seat/keyboard: constify wlr_seat_keyboard_notify_modifiers()
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_seat.h4
1 files changed, 2 insertions, 2 deletions
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