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:
6511dca
)
tap: remove unnecessary TAP_STATE_DEAD assignment
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 13 Jul 2018 00:55:44 +0000
(10:55 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 13 Jul 2018 00:56:51 +0000
(10:56 +1000)
All palm touches are set to DEAD anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad-tap.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad-tap.c
b/src/evdev-mt-touchpad-tap.c
index
e3e051c
..
90335e1
100644
(file)
--- a/
src/evdev-mt-touchpad-tap.c
+++ b/
src/evdev-mt-touchpad-tap.c
@@
-186,7
+186,6
@@
tp_tap_idle_handle_event(struct tp_dispatch *tp,
break;
case TAP_EVENT_PALM:
tp->tap.state = TAP_STATE_IDLE;
- t->tap.state = TAP_TOUCH_STATE_DEAD;
break;
case TAP_EVENT_PALM_UP:
break;
@@
-239,7
+238,6
@@
tp_tap_touch_handle_event(struct tp_dispatch *tp,
break;
case TAP_EVENT_PALM:
tp->tap.state = TAP_STATE_IDLE;
- t->tap.state = TAP_TOUCH_STATE_DEAD;
tp_tap_clear_timer(tp);
break;
case TAP_EVENT_PALM_UP: