On Thu, Oct 01, 2009 at 12:53:02PM +0200, Simon Thum wrote:
Peter Hutterer wrote:
@@ -587,16 +587,41 @@ clipAxis(DeviceIntPtr pDev, int axisNum, int *val)
/* If a value range is defined, clip. If not, do nothing */
A nit: This is no longer true then.
if (axis-max_value =
From: Simon Thum simon.t...@gmx.de
Make clipping of valuators respect subpixels. This is
needed for XI2 coords not to become negative.
The clipping rules intend to avoid enlarging the
valuator range by the remainder range, so assumptions
one may have made stay valid.
Clipping is performed in