summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index bd5e11e..d4d701c 100644
--- a/src/input.c
+++ b/src/input.c
@@ -197,7 +197,7 @@ _nested_input_init_axes(DeviceIntPtr device) {
int i;
for (i = 0; i < NUM_MOUSE_AXES; i++) {
- xf86InitValuatorAxisStruct(device, i, (Atom)0, 0, 640, 1, 1, 1, Absolute);
+ xf86InitValuatorAxisStruct(device, i, (Atom)0, -1, -1, 1, 1, 1, Absolute);
xf86InitValuatorDefaults(device, i);
}