diff options
Diffstat (limited to 'include/wlr/interfaces/wlr_keyboard.h')
-rw-r--r-- | include/wlr/interfaces/wlr_keyboard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/interfaces/wlr_keyboard.h b/include/wlr/interfaces/wlr_keyboard.h index 6960ea87..c9a13fd7 100644 --- a/include/wlr/interfaces/wlr_keyboard.h +++ b/include/wlr/interfaces/wlr_keyboard.h @@ -9,7 +9,8 @@ struct wlr_keyboard_impl { void (*led_update)(struct wlr_keyboard *keyboard, uint32_t leds); }; -void wlr_keyboard_init(struct wlr_keyboard *keyboard, struct wlr_keyboard_impl *impl); +void wlr_keyboard_init(struct wlr_keyboard *keyboard, + const struct wlr_keyboard_impl *impl); void wlr_keyboard_destroy(struct wlr_keyboard *keyboard); void wlr_keyboard_notify_key(struct wlr_keyboard *keyboard, struct wlr_event_keyboard_key *event); |