tablet: on tip down/up, force the delta to zero

We may get a pointer jump on tip down/up, see #128. For absolute coordinates
we reset the history to avoid smoothing across that jump but deltas still used
to be calculated based on the previous position to the current one. This
can result in a large jump on tip down.

Since the delta is supposed to be useful (and not physically accurate, see the
docs), let's force it to 0/0 on tip down/up to avoid that scenario.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
42 jobs for master in 5 minutes and 35 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Check
passed #22561
arch:rolling@docker-check

00:00:19

passed #22567
arch:rolling@docker-clean

00:00:27

passed #22558
fedora:27@docker-check

00:00:18

passed #22564
fedora:27@docker-clean

00:00:32

passed #22557
fedora:28@docker-check

00:00:19

passed #22563
fedora:28@docker-clean

00:00:27

passed #22562
freebsd:11.2@docker-check

00:00:22

passed #22568
freebsd:11.2@docker-clean

00:00:27

passed #22559
ubuntu:17.10@docker-check

00:00:19

passed #22565
ubuntu:17.10@docker-clean

00:00:27

passed #22560
ubuntu:18.04@docker-check

00:00:22

passed #22566
ubuntu:18.04@docker-clean

00:00:32

 
  Docker Prep
passed #22573
arch:rolling@docker-prep

00:00:16

manual #22579
allowed to fail manual
arch:rolling@force-docker-prep
passed #22570
fedora:27@docker-prep

00:00:17

manual #22576
allowed to fail manual
fedora:27@force-docker-prep
passed #22569
fedora:28@docker-prep

00:00:18

manual #22575
allowed to fail manual
fedora:28@force-docker-prep
passed #22574
freebsd:11.2@docker-prep

00:00:16

manual #22580
allowed to fail manual
freebsd:11.2@force-docker-prep
passed #22571
ubuntu:17.10@docker-prep

00:00:18

manual #22577
allowed to fail manual
ubuntu:17.10@force-docker-prep
passed #22572
ubuntu:18.04@docker-prep

00:00:18

manual #22578
allowed to fail manual
ubuntu:18.04@force-docker-prep
 
  Build
passed #22596
arch:rolling@default-build

00:00:34

passed #22581
fedora:27@default-build

00:00:44

passed #22589
fedora:28@build-no-debuggui

00:00:50

passed #22590
fedora:28@build-no-debuggui-nodeps

00:00:55

passed #22587
fedora:28@build-no-docs

00:00:31

passed #22588
fedora:28@build-no-docs-nodeps

00:00:44

passed #22585
fedora:28@build-no-libwacom

00:00:35

passed #22586
fedora:28@build-no-libwacom-nodeps

00:00:41

passed #22591
fedora:28@build-no-tests

00:00:33

passed #22592
fedora:28@build-no-tests-nodeps

00:00:33

passed #22582
fedora:28@default-build

00:00:41

passed #22583
fedora:28@default-build-release

00:00:44

passed #22584
fedora:28@scan-build

00:02:37

passed #22593
fedora:28@valgrind

00:00:36

passed #22597
freebsd:11.2@default-build

00:00:21

passed #22594
ubuntu:17.10@default-build

00:00:35

passed #22595
ubuntu:18.04@default-build

00:00:37

 
  Deploy
passed #22598
wayland-web

00:00:14