Bug 77576 - Output hotplug only maps first input device
Summary: Output hotplug only maps first input device
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-17 14:41 UTC by U. Artie Eoff
Modified: 2014-04-21 21:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.