From 907b7cad3fd892ca3349cd18e9ccdc5659027b40 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Thu, 2 Dec 2010 18:01:41 -0500 Subject: 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 --- src/evdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; } /** -- cgit v1.2.3