From: Chase Douglas <[email protected]>

Without this change, an MT touchpad in relative mode could end a touch
while not resetting the oldMask used to calculate relative values. This
fix allows a Magic Trackpad to behave as a relative mode device again.

Signed-off-by: Chase Douglas <[email protected]>
---

v5: No changes other than fixing conflicts.

 src/evdev.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/evdev.c b/src/evdev.c
index fd810c8..4a9375b 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -714,8 +714,9 @@ EvdevProcessAbsoluteMotionEvent(InputInfoPtr pInfo, struct 
input_event *ev)
     else {
         map = pEvdev->axis_map[ev->code];
         valuator_mask_set(pEvdev->mask, map, value);
-        pEvdev->abs_queued = 1;
     }
+
+    pEvdev->abs_queued = 1;
 }
 
 /**
-- 
1.7.2.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to