No real effect, just for safety
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
libinput_remove_source(tp->device->base.seat->libinput, tp->tap.source);
tp->tap.source = NULL;
}
libinput_remove_source(tp->device->base.seat->libinput, tp->tap.source);
tp->tap.source = NULL;
}
- if (tp->tap.timer_fd > -1)
+ if (tp->tap.timer_fd > -1) {
+ tp->tap.timer_fd = -1;
+ }