diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index dd96e89f7..6ae5c29df 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -1103,7 +1103,7 @@ handle_mouse: else DarwinSendTabletEvents(darwinTabletCurrent, ProximityOut, 0, location.x, location.y, pressure, - tilt.x, tilt.y); + tilt.x, -tilt.y); return; } @@ -1117,7 +1117,7 @@ handle_mouse: if (needsProximityIn) { DarwinSendTabletEvents(darwinTabletCurrent, ProximityIn, 0, location.x, location.y, pressure, - tilt.x, tilt.y); + tilt.x, -tilt.y); needsProximityIn = NO; } @@ -1159,7 +1159,7 @@ handle_mouse: } else { DarwinSendTabletEvents(pDev, ev_type, ev_button, location.x, location.y, pressure, - tilt.x, tilt.y); + tilt.x, -tilt.y); } break; @@ -1186,7 +1186,7 @@ handle_mouse: else DarwinSendTabletEvents(darwinTabletCurrent, ProximityOut, 0, location.x, location.y, pressure, - tilt.x, tilt.y); + tilt.x, -tilt.y); break; case NSScrollWheel: