backend/wayland: Add registering multiple seats

This commit is contained in:
Mykola Orliuk 2020-10-03 23:06:10 +02:00 committed by Simon Ser
parent 85b0872650
commit 70ffda3ea3
4 changed files with 25 additions and 25 deletions

View file

@ -586,8 +586,8 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *wlr_backend) {
wlr_signal_emit_safe(&backend->backend.events.new_output, wlr_output);
struct wlr_wl_seat *seat = backend->seat;
if (seat != NULL) {
struct wlr_wl_seat *seat;
wl_list_for_each(seat, &backend->seats, link) {
if (seat->pointer) {
create_wl_pointer(seat, output);
}