projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f6603
)
touchpad: update the timestamp even when we only get other axes
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 21 Jun 2017 01:39:08 +0000
(11:39 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 21 Jun 2017 09:07:11 +0000
(19:07 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad.c
b/src/evdev-mt-touchpad.c
index 9f2dd8bf05ca316c1dd6c1cfd15e13e78b098dac..2d39e18db6d33563ca70a3421bf20f602207da7a 100644
(file)
--- a/
src/evdev-mt-touchpad.c
+++ b/
src/evdev-mt-touchpad.c
@@
-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;