summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2010-12-02 18:01:41 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-11 15:50:36 +1000
commit907b7cad3fd892ca3349cd18e9ccdc5659027b40 (patch)
tree62853716f3a712cbcd4af081960cd8c08492c83c /src
parentc9a2b4e9ce9b15e57241184df78c72ec8f6a4705 (diff)
Ensure touchpad events are always processed with MT
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 <chase.douglas@canonical.com>
Diffstat (limited to 'src')
-rw-r--r--src/evdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 48bfaea..d32427c 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -774,8 +774,9 @@ EvdevProcessAbsoluteMotionEvent(InputInfoPtr pInfo, struct input_event *ev)
else {
map = pEvdev->axis_map[ev->code];
valuator_mask_set(pEvdev->vals, map, value);
- pEvdev->abs_queued = 1;
}
+
+ pEvdev->abs_queued = 1;
}
/**