backend/wayland: Link input devices with seats

This commit is contained in:
Mykola Orliuk 2020-10-03 22:11:38 +02:00 committed by Simon Ser
parent 40bfd9f8f7
commit 85b0872650
5 changed files with 32 additions and 26 deletions

View file

@ -160,7 +160,7 @@ static bool backend_start(struct wlr_backend *backend) {
struct wlr_wl_seat *seat = wl->seat;
if (seat != NULL) {
if (seat->keyboard) {
create_wl_keyboard(seat->keyboard, wl);
create_wl_keyboard(seat);
}
if (wl->tablet_manager) {