Correct argument for evdev_push_rel().

This is a regression issue after r319162.

Submitted by:	Johannes Lundberg <johalun0@gmail.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2018-05-31 12:10:30 +00:00
parent ede605609a
commit 34388a405e

View File

@ -4966,8 +4966,8 @@ psmsoftintr(void *arg)
if (evdev_rcpt_mask & EVDEV_RCPT_HW_MOUSE &&
sc->hw.model != MOUSE_MODEL_ELANTECH &&
sc->hw.model != MOUSE_MODEL_SYNAPTICS) {
evdev_push_rel(sc->evdev_r, EV_REL, x);
evdev_push_rel(sc->evdev_r, EV_REL, -y);
evdev_push_rel(sc->evdev_r, REL_X, x);
evdev_push_rel(sc->evdev_r, REL_Y, -y);
switch (sc->hw.model) {
case MOUSE_MODEL_EXPLORER: