seat: take wlr_keyboard in wlr_seat_set_keyboard()

Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
This commit is contained in:
Leonardo Hernández Hernández 2022-03-21 17:37:17 -06:00 committed by Kirill Primak
parent 4cc2a03620
commit 4519117a68
3 changed files with 13 additions and 15 deletions

View file

@ -474,7 +474,7 @@ bool wlr_seat_pointer_has_grab(struct wlr_seat *seat);
/**
* Set this keyboard as the active keyboard for the seat.
*/
void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_input_device *dev);
void wlr_seat_set_keyboard(struct wlr_seat *seat, struct wlr_keyboard *keyboard);
/**
* Get the active keyboard for the seat.