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.e...@intel.com>
---
 src/libinput-seat.c | 1 -
 src/udev-seat.c     | 1 -
 2 files changed, 2 deletions(-)

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 @@ notify_output_create(struct wl_listener *listener, void 
*data)
                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 @@ notify_output_create(struct wl_listener *listener, void 
*data)
                if (device->output_name &&
                    strcmp(output->name, device->output_name) == 0) {
                        evdev_device_set_output(device, output);
-                       break;
                }
 }
 
-- 
1.8.5.3

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to