Bug 77576

Summary: Output hotplug only maps first input device
Product: Wayland Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description U. Artie Eoff 2014-04-17 14:41:58 UTC
If multiple input devices are configured to map to the same output (i.e. via ENV{WL_OUTPUT} udev property), Weston only maps the first input device it sees to the output when the output is hotplugged.

This can happen when a touch device supports both finger and pen touch input devices for the same display.

libinput (master) heads/master-0-g9c61146
weston (master) heads/master-0-g304996d
Comment 2 Kristian Høgsberg 2014-04-21 21:38:32 UTC
commit f4ad19a177782f1498a99c67356f9d95009a2521
Author: U. Artie Eoff <ullysses.a.eoff@intel.com>
Date:   Thu Apr 17 07:53:26 2014 -0700

    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>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.