mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 19:30:05 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue