backend/wayland: give wlr_keyboard ownership to wlr_wl_seat

This commit is contained in:
Simon Zeni 2022-03-03 13:23:08 -05:00 committed by Kirill Primak
parent 64fe6ab300
commit f9b6aa3079
3 changed files with 62 additions and 75 deletions

View file

@ -413,8 +413,8 @@ static bool backend_start(struct wlr_backend *backend) {
struct wlr_wl_seat *seat;
wl_list_for_each(seat, &wl->seats, link) {
if (seat->keyboard) {
create_wl_keyboard(seat);
if (seat->wl_keyboard) {
init_seat_keyboard(seat);
}
if (wl->tablet_manager) {