Author: grehan Date: Wed Mar 22 16:53:03 2017 New Revision: 315715 URL: https://svnweb.freebsd.org/changeset/base/315715
Log: This fixes a typo in bhyve's USB mouse emulation. There is no behavioral difference, as it's just swapping out the name of two identically-valued constants. Submitted by: Vicki Pfau (vi AT endrift.com) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D9597 Modified: head/usr.sbin/bhyve/usb_mouse.c Modified: head/usr.sbin/bhyve/usb_mouse.c ============================================================================== --- head/usr.sbin/bhyve/usb_mouse.c Wed Mar 22 15:46:31 2017 (r315714) +++ head/usr.sbin/bhyve/usb_mouse.c Wed Mar 22 16:53:03 2017 (r315715) @@ -284,7 +284,7 @@ umouse_event(uint8_t button, int x, int /* scale coords to mouse resolution */ sc->um_report.x = MOUSE_MAX_X * x / gc->width; - sc->um_report.y = MOUSE_MAX_X * y / gc->height; + sc->um_report.y = MOUSE_MAX_Y * y / gc->height; sc->newdata = 1; pthread_mutex_unlock(&sc->mtx); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"