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>
This commit is contained in:
Chase Douglas
2010-12-02 18:01:41 -05:00
committed by Peter Hutterer
parent c9a2b4e9ce
commit 907b7cad3f

View File

@@ -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;
}
/**