summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-06-15 13:22:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-06-16 11:16:15 +1000
commit868bf3de478fac0080d525137fc728c551c78ea6 (patch)
tree6fef5711cefbe0ea7a177e5aa557b908c04b1eb2 /dix
parentdb0d3d4e573c93a8af43499682ed788c7bd0d70d (diff)
dix: the default axis mode is Relative, not "0".
Yay for readability. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Diffstat (limited to 'dix')
-rw-r--r--dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index bca2caf58..034d5e6d2 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1546,7 +1546,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));
}