[PATCH 3/3] dix: allow for button-only input devices (#21457)

Daniel Stone daniel at fooishbar.org
Thu Dec 9 07:59:59 PST 2010


On Wed, Dec 08, 2010 at 02:58:49PM +1000, Peter Hutterer wrote:
> Add a few checks for the existence of a valuator class on the device to
> avoid null-pointer dereferences for button events from devices without a
> valuator class.
> 
> X.Org Bug 21457 <http://bugs.freedesktop.org/show_bug.cgi?id=21457>
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

I think you need to update clipAxis() as well, plus a couple more
branches in positionSprite (under the 'Crossed screen? Scale back to
device coordinates'), but with those done:
Reviewed-by (for the series): Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101209/6f4ae3b0/attachment.pgp>


More information about the xorg-devel mailing list