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>
dev
U. Artie Eoff 11 years ago committed by Kristian Høgsberg
parent 161c6c5694
commit f4ad19a177
  1. 1
      src/libinput-seat.c
  2. 1
      src/udev-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;
}
}

@ -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;
}
}

Loading…
Cancel
Save