diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-19 10:12:25 +0100 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-01-26 15:06:45 +0000 |
commit | 0e54b861e991423a8c233f0e59d384a8fad7f9c1 (patch) | |
tree | 10fb4548b1c11b4c3d8a991de0283fe7bef90249 /include/wlr | |
parent | 695d28c2505dff565f5c234056a9ebf35ca96ac9 (diff) |
seat/keyboard: constify wlr_seat_keyboard_notify_enter()
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 2f5fd31b..b94c0435 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -110,8 +110,8 @@ struct wlr_seat_keyboard_grab; struct wlr_keyboard_grab_interface { void (*enter)(struct wlr_seat_keyboard_grab *grab, - struct wlr_surface *surface, uint32_t keycodes[], - size_t num_keycodes, struct wlr_keyboard_modifiers *modifiers); + struct wlr_surface *surface, const uint32_t keycodes[], + size_t num_keycodes, const struct wlr_keyboard_modifiers *modifiers); void (*clear_focus)(struct wlr_seat_keyboard_grab *grab); void (*key)(struct wlr_seat_keyboard_grab *grab, uint32_t time_msec, uint32_t key, uint32_t state); @@ -549,8 +549,8 @@ void wlr_seat_keyboard_notify_modifiers(struct wlr_seat *seat, * keyboard. */ void wlr_seat_keyboard_notify_enter(struct wlr_seat *seat, - struct wlr_surface *surface, uint32_t keycodes[], size_t num_keycodes, - struct wlr_keyboard_modifiers *modifiers); + struct wlr_surface *surface, const uint32_t keycodes[], size_t num_keycodes, + const struct wlr_keyboard_modifiers *modifiers); /** * Notify the seat of a keyboard leave event to the currently-focused surface. |