diff options
author | grehan <grehan@FreeBSD.org> | 2017-03-25 05:21:49 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2017-03-25 05:21:49 +0000 |
commit | 07689b87ee2525328d26e831f0b7369331e7ef49 (patch) | |
tree | 6204b0736006b0ae77bf35e263efeeb6bfe5fb20 /usr.sbin/bhyve | |
parent | bfdf1ebc2056f733f1fc31600892287fae8e4d54 (diff) | |
download | FreeBSD-src-07689b87ee2525328d26e831f0b7369331e7ef49.zip FreeBSD-src-07689b87ee2525328d26e831f0b7369331e7ef49.tar.gz |
MFC r315715 Fix a type in bhyve's USB mouse emulation.
Diffstat (limited to 'usr.sbin/bhyve')
-rw-r--r-- | usr.sbin/bhyve/usb_mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/usb_mouse.c b/usr.sbin/bhyve/usb_mouse.c index 633fc57..e9fc77e 100644 --- a/usr.sbin/bhyve/usb_mouse.c +++ b/usr.sbin/bhyve/usb_mouse.c @@ -284,7 +284,7 @@ umouse_event(uint8_t button, int x, int y, void *arg) /* 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); |