Commit 2dbf998a authored by Peter Hutterer's avatar Peter Hutterer

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's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 303565c3
......@@ -315,6 +315,8 @@ tp_process_absolute(struct tp_dispatch *tp,
break;
case ABS_MT_PRESSURE:
t->pressure = e->value;
t->dirty = true;
tp->queued |= TOUCHPAD_EVENT_MOTION;
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment