seat: don't break in notify_output_create
If more than one input device maps to the new output, then we need
to map all devices to that output... not just the first device.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=77576
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
diff --git a/src/libinput-seat.c b/src/libinput-seat.c
index 358c9fd..8bf538c 100644
--- a/src/libinput-seat.c
+++ b/src/libinput-seat.c
@@ -320,7 +320,6 @@
if (device->output_name &&
strcmp(output->name, device->output_name) == 0) {
evdev_device_set_output(device, output);
- break;
}
}
diff --git a/src/udev-seat.c b/src/udev-seat.c
index f875e09..5e018de 100644
--- a/src/udev-seat.c
+++ b/src/udev-seat.c
@@ -363,7 +363,6 @@
if (device->output_name &&
strcmp(output->name, device->output_name) == 0) {
evdev_device_set_output(device, output);
- break;
}
}