summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pckbc/pms.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c
index 3893b602902..67bd1d83341 100644
--- a/sys/dev/pckbc/pms.c
+++ b/sys/dev/pckbc/pms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pms.c,v 1.44 2013/06/28 18:32:01 jcs Exp $ */
+/* $OpenBSD: pms.c,v 1.45 2013/07/16 08:11:39 mpi Exp $ */
/* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -1440,6 +1440,8 @@ pms_proc_alps(struct pms_softc *sc)
/* Generate a width value corresponding to one finger */
if (z > 0)
w = 4;
+ else
+ w = 0;
wsmouse_input(sc->sc_wsmousedev, buttons, x, y, z, w,
WSMOUSE_INPUT_ABSOLUTE_X | WSMOUSE_INPUT_ABSOLUTE_Y |