summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2012-03-17 00:08:19 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2012-03-24 01:07:05 -0700
commitcd84c0949a9f397d8b803d3b87c9d02b260d4795 (patch)
tree2402ef29b0373828ca96e5668bf7127807584346
parent87939bf8311c0e7d168741fe57bc8fac414811d8 (diff)
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 <jeremyhu@apple.com>
-rw-r--r--hw/xquartz/darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index 2e5285a5a..29036fc77 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;