mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 19:18:03 +02:00
touchpad: a pressure change alone needs touch processing, mark as dirty
A thumb may not move, but may change pressure so we need to process accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
303565c329
commit
2dbf998aa8
1 changed files with 2 additions and 0 deletions
|
|
@ -315,6 +315,8 @@ tp_process_absolute(struct tp_dispatch *tp,
|
||||||
break;
|
break;
|
||||||
case ABS_MT_PRESSURE:
|
case ABS_MT_PRESSURE:
|
||||||
t->pressure = e->value;
|
t->pressure = e->value;
|
||||||
|
t->dirty = true;
|
||||||
|
tp->queued |= TOUCHPAD_EVENT_MOTION;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue