xserver-multidpi/hw
Peter Hutterer c2d0b3b437 xfree86: store the InputAttributes in the input device.
InputAttributes largely decide which configuration values get merged from
the xorg.conf.d snippets. While they are available in the config backend,
they are not available for any other callers of NewInputDeviceRequest().

Drivers implementing driver-side hotplugging do not have access to these
attributes and cannot have xorg.conf.d snippets specific to dependent
devices. For example, the following case cannot work right now:

Section "InputClass"
        MatchProduct "Wacom"
        Option "PressCurve" "0 0 100 100"
        ...
EndSection

Section "InputClass"
        MatchProduct "Wacom"
        MatchProduct "eraser"
        Option "PressCurve" "10 10 50 50"
        ...
EndSection

The second section is not triggered, as the wacom driver cannot supply the
InputAttributes to NewInputDeviceRequest().

Add the attributes to the IDevRec and merge them into the InputInfoRec to
make them accessible in the driver. This changes the ABI for input drivers.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-05-25 10:06:50 -07:00
..
dmx Convert LinuxDoc documents to DocBook/XML 2010-05-20 11:29:52 -07:00
kdrive Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
vfb vfb: Remove dead variable and header file 2010-05-21 12:49:46 -07:00
xfree86 xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xnest xnest: Don't ignore errors from DeviceCursorInitialize. 2010-05-25 09:05:22 -07:00
xquartz Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
xwin Find windows GL wrapper files in $(srcdir) instead of . 2010-05-20 14:35:14 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00