From cd84c0949a9f397d8b803d3b87c9d02b260d4795 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 17 Mar 2012 00:08:19 -0700 Subject: [PATCH] XQuartz: Xi: darwinPointer is now Relative There is really no real reason why this should be necessary, but wine developers are stuborn, so doing this to try to work around this wine issue: http://bugs.winehq.org/show_bug.cgi?id=29732 Signed-off-by: Jeremy Huddleston --- hw/xquartz/darwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c index 2e5285a5aa..29036fc778 100644 --- a/hw/xquartz/darwin.c +++ b/hw/xquartz/darwin.c @@ -336,9 +336,9 @@ DarwinMouseProc(DeviceIntPtr pPointer, int what) (PtrCtrlProcPtr) NoopDDA, GetMotionHistorySize(), NAXES, axes_labels); InitValuatorAxisStruct(pPointer, 0, axes_labels[0], NO_AXIS_LIMITS, - NO_AXIS_LIMITS, 0, 0, 0, Absolute); + NO_AXIS_LIMITS, 1, 0, 1, Relative); InitValuatorAxisStruct(pPointer, 1, axes_labels[1], NO_AXIS_LIMITS, - NO_AXIS_LIMITS, 0, 0, 0, Absolute); + NO_AXIS_LIMITS, 1, 0, 1, Relative); break; case DEVICE_ON: pPointer->public.on = TRUE;