mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 18:10:06 +01:00
tap: remove unnecessary TAP_STATE_DEAD assignment
All palm touches are set to DEAD anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6511dca633
commit
847e0b68bc
1 changed files with 0 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue