Skip to content

Commit

Permalink
dix: the default axis mode is Relative, not "0".
Browse files Browse the repository at this point in the history
Yay for readability.

Signed-off-by: Peter Hutterer <[email protected]>
Reviewed-by: Fernando Carrijo <[email protected]>
  • Loading branch information
whot committed Jun 16, 2010
1 parent db0d3d4 commit 868bf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dix/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 868bf3d

Please sign in to comment.