[PATCH 0/4] Unify input device initialization

Peter Hutterer peter.hutterer at who-t.net
Wed Aug 10 20:20:48 PDT 2011


When config backends for input device hotplugging were added, a new struct
InputOption was introduced for key/value pairs that come from the backend.
This struct is used in the DIX for various device options but is
incompatible to the XF86OptionRec that is used in the DDX to handle the
xorg.conf(.d) options set for a device.

Using one from the other required converting to and fro, especially with the
DDX options only being available in the xfree86 DDX. This patchset unifies
the two, having the same struct for both DIX and DXX (albeit under two
names) so we can simply pass any option we get into NewInputDeviceRequest,
regardless where it came from.

Cheers,
  Peter



More information about the xorg-devel mailing list