mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-25 18:28:43 +00:00
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:
committed by
Peter Hutterer
parent
c9a2b4e9ce
commit
907b7cad3f
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user