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
This commit is contained in:
parent
82d0140707
commit
b9c1cdd190
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user