[PATCH] dix: the default axis mode is Relative, not "0".
Peter Hutterer
peter.hutterer at who-t.net
Tue Jun 15 16:02:42 PDT 2010
Yay for readability.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
dix/devices.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dix/devices.c b/dix/devices.c
index 91dd4fd..2226ff2 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1484,7 +1484,7 @@ InitPointerDeviceStruct(DevicePtr device, CARD8 *map, int numButtons, Atom* btn_
return(InitButtonClassDeviceStruct(dev, numButtons, btn_labels, map) &&
InitValuatorClassDeviceStruct(dev, numAxes, axes_labels,
- numMotionEvents, 0) &&
+ numMotionEvents, Relative) &&
InitPtrFeedbackClassDeviceStruct(dev, controlProc));
}
--
1.7.0.1
More information about the xorg-devel
mailing list