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

@ -589,7 +589,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) {
struct wlr_wl_seat *seat = backend->seat;
if (seat != NULL) {
if (seat->pointer) {
create_wl_pointer(seat->pointer, output);
create_wl_pointer(seat, output);
}
}