summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-06-07 13:01:22 +0200
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-08 21:44:57 +0930
commitfec73e1418a4da1b64496faca27b06fef0aa5206 (patch)
treefe031dc8671711064fcd710c9f0cf1aa390d7743
parentda112737eb109dc263169e820b7ef903b7f8624f (diff)
evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branch
The commit b4a5a204 fixed an issue, where we can't move the pointer to other screens and this happens in current master branch again. This commit ports the old commit to the current master branch. Signed-off-by: Sven Wegener <swegener@gentoo.org> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
-rw-r--r--src/evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index b146d41..bd01316 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -767,11 +767,11 @@ EvdevAddRelClass(DeviceIntPtr device)
return !Success;
/* X valuator */
- xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(device, 0, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(device, 0);
/* Y valuator */
- xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
+ xf86InitValuatorAxisStruct(device, 1, -1, -1, 1, 0, 1);
xf86InitValuatorDefaults(device, 1);
xf86MotionHistoryAllocate(pInfo);