[PATCH synaptics] Submit the right number of MT axes

Chase Douglas chase.douglas at canonical.com
Mon Feb 6 10:40:22 PST 2012


On 02/06/2012 06:34 PM, Peter Hutterer wrote:
> For devices with only x/y, num_mt_axes is 0, since x/y are already counted
> elsewhere. The server will then fail to init the TouchClassRec since it
> expects at least 2 touch axes. Fix this, assume we always have at least two
> touch axes if we have any touch axes at all.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Looks good to me.

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>


More information about the xorg-devel mailing list