diff options
-rw-r--r-- | src/vmmouse.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vmmouse.c b/src/vmmouse.c index be1087e..bd3763b 100644 --- a/src/vmmouse.c +++ b/src/vmmouse.c @@ -490,7 +490,13 @@ VMMouseDoPostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy) buttons = reverseBits(reverseMap, buttons); if (dx || dy) { - xf86PostMotionEvent(pInfo->dev, !mPriv->relative, 0, 2, dx, dy); + + /* + * The Xserver no longer calls an input device's conversion_proc + * to convert x and y coordinates from device to screen space. + */ + VMMouseConvertProc(pInfo, 0, 2, dx, dy, 0, 0, 0, 0, &dx, &dy); + xf86PostMotionEvent(pInfo->dev, !mPriv->relative, 0, 2, dx, dy); } if (truebuttons != pMse->lastButtons) { |