Use common function for keyboard init and reconfig

This commit is contained in:
Simon Long 2024-01-16 14:53:31 +00:00
parent 4b617b1e8c
commit 6b49f87ae5
5 changed files with 11 additions and 26 deletions

View file

@ -9,8 +9,7 @@ struct seat;
struct keyboard;
struct wlr_keyboard;
void keyboard_init(struct seat *seat);
void keyboard_reload(struct seat *seat);
void keyboard_init(struct seat *seat, bool reconfig);
void keyboard_finish(struct seat *seat);
void keyboard_setup_handlers(struct keyboard *keyboard);