diff options
Diffstat (limited to 'src/evdev-mt-touchpad.c')
-rw-r--r-- | src/evdev-mt-touchpad.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 6e651b1..c23e565 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -628,7 +628,7 @@ static void tp_init_touch(struct tp_dispatch *tp, struct tp_touch *t) { - t->button.state = BUTTON_STATE_NONE; + t->tp = tp; } static int @@ -748,7 +748,6 @@ tp_init(struct tp_dispatch *tp, tp->base.interface = &tp_interface; tp->device = device; tp->tap.timer_fd = -1; - tp->buttons.timer_fd = -1; if (tp_init_slots(tp, device) != 0) return -1; |