[PATCH 1/7] dix: fix a regression introduced in 5cbd4d3d6e54d2

Thomas Jaeger ThJaeger at gmail.com
Sun Jun 28 19:36:54 PDT 2009


Signed-off-by: Thomas Jaeger <ThJaeger at gmail.com>
---
 dix/getevents.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dix/getevents.c b/dix/getevents.c
index c510122..7589136 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -773,8 +773,8 @@ positionSprite(DeviceIntPtr dev, int *x, int *y,
     miPointerSetPosition(dev, screenx, screeny);
 
     if (dev->u.master) {
-        dev->u.master->last.valuators[0] = dev->last.valuators[0];
-        dev->u.master->last.valuators[1] = dev->last.valuators[1];
+        dev->u.master->last.valuators[0] = *screenx;
+        dev->u.master->last.valuators[1] = *screeny;
     }
 
     /* Crossed screen? Scale back to device coordiantes */
-- 
1.6.3.1


--------------080600060901020303000806--


More information about the xorg-devel mailing list