summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 10:36:46 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 10:36:46 +0930
commitbc334286b060bc8d0c829b18acebadf24fbdaf19 (patch)
tree4948a8e150c3ea977beea2f1b612b19fcc1b760c
parenta8c56372ba8aa36bac09877c478ff53ea5358df7 (diff)
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.
-rw-r--r--dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index ac35fe68c..4672b2ac1 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -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;