mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 19:50:25 +01:00
touchpad: update the timestamp even when we only get other axes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
64f6603ecb
commit
f10c0c590c
1 changed files with 3 additions and 0 deletions
|
|
@ -338,11 +338,13 @@ tp_process_absolute(struct tp_dispatch *tp,
|
|||
break;
|
||||
case ABS_MT_PRESSURE:
|
||||
t->pressure = e->value;
|
||||
t->time = time;
|
||||
t->dirty = true;
|
||||
tp->queued |= TOUCHPAD_EVENT_OTHERAXIS;
|
||||
break;
|
||||
case ABS_MT_TOOL_TYPE:
|
||||
t->is_tool_palm = e->value == MT_TOOL_PALM;
|
||||
t->time = time;
|
||||
t->dirty = true;
|
||||
tp->queued |= TOUCHPAD_EVENT_OTHERAXIS;
|
||||
break;
|
||||
|
|
@ -377,6 +379,7 @@ tp_process_absolute_st(struct tp_dispatch *tp,
|
|||
break;
|
||||
case ABS_PRESSURE:
|
||||
t->pressure = e->value;
|
||||
t->time = time;
|
||||
t->dirty = true;
|
||||
tp->queued |= TOUCHPAD_EVENT_OTHERAXIS;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue