aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-19 10:05:14 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-01-26 15:06:45 +0000
commite44834595df49bfb9a6130b53814c9c805fed5b8 (patch)
tree998d91dd0f2f79364d4eec52a109c8859f306e4a /include/wlr
parent12e04d8f83a7359c8c4b7c3c9aa12c370c9e7800 (diff)
seat/keyboard: constify args in wlr_seat_keyboard_enter()
Diffstat (limited to 'include/wlr')
-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 fb44074f..588bdc63 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -519,8 +519,8 @@ void wlr_seat_keyboard_send_modifiers(struct wlr_seat *seat,
* probably want wlr_seat_keyboard_notify_enter() instead.
*/
void wlr_seat_keyboard_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);
/**
* Clear the focused surface for the keyboard and leave all entered surfaces.