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:
parent
a8c56372ba
commit
bc334286b0
|
@ -1011,7 +1011,7 @@ InitValuatorClassDeviceStruct(DeviceIntPtr dev, int numAxes,
|
||||||
AllocateMotionHistory(dev);
|
AllocateMotionHistory(dev);
|
||||||
|
|
||||||
for (i=0; i<numAxes; i++) {
|
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;
|
valc->axisVal[i]=0;
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue