Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2018 07:43:58 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r334763 - stable/11/sys/dev/atkbdc
Message-ID:  <201806070743.w577hwk8061850@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Jun  7 07:43:58 2018
New Revision: 334763
URL: https://svnweb.freebsd.org/changeset/base/334763

Log:
  MFC r334422:
  Correct argument for evdev_push_rel().
  
  This is a regression issue after r319162.
  
  Submitted by:	Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/sys/dev/atkbdc/psm.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/atkbdc/psm.c
==============================================================================
--- stable/11/sys/dev/atkbdc/psm.c	Thu Jun  7 07:42:48 2018	(r334762)
+++ stable/11/sys/dev/atkbdc/psm.c	Thu Jun  7 07:43:58 2018	(r334763)
@@ -4960,8 +4960,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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806070743.w577hwk8061850>