Init device axis with -1,-1 minimum values.

This is needed to be able to cross to screens located east/north of the
current active screen.
This commit is contained in:
Peter Hutterer 2007-05-17 10:36:46 +09:30
parent a8c56372ba
commit bc334286b0

View File

@ -1011,7 +1011,7 @@ InitValuatorClassDeviceStruct(DeviceIntPtr dev, int numAxes,
AllocateMotionHistory(dev);
for (i=0; i<numAxes; i++) {
InitValuatorAxisStruct(dev, i, 0, -1, 0, 0, 0);
InitValuatorAxisStruct(dev, i, -1, -1, 0, 0, 0);
valc->axisVal[i]=0;
}
return TRUE;