[PATCH] evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branch

Sven Wegener swegener at gentoo.org
Sat Jun 7 03:55:04 PDT 2008


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 at gentoo.org>
---
evdev.c |    4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)

Someone please verify that this is the right thing to do.

diff --git a/src/evdev.c b/src/evdev.c
index 3fe0708..bed55bc 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);




More information about the xorg mailing list