[PATCH weston v2 5/5] seat: don't break in notify_output_create

U. Artie Eoff ullysses.a.eoff at intel.com
Thu Apr 17 07:53:26 PDT 2014


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 at 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



More information about the wayland-devel mailing list