summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <agd5f@yahoo.com>2005-08-31 23:38:47 +0000
committerAlex Deucher <agd5f@yahoo.com>2005-08-31 23:38:47 +0000
commit79a6d468c7995032988a3888324fddf798021553 (patch)
tree5760ca1f2c9e41fbd940ca920e5f18ac7cc7eff8
parent70e4c1b572ea98e9cdf85b4c5ea3b63a89647d3d (diff)
downloadxorg-driver-xf86-input-mouse-79a6d468c7995032988a3888324fddf798021553.tar.gz
Fix EmulateWheelTimeout Option. Spotted by Richard Neill, bug 4291XORG-6_8_99_901
-rw-r--r--src/mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mouse.c b/src/mouse.c
index c77eba1..c9dbc16 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -604,9 +604,9 @@ MouseCommonOptions(InputInfoPtr pInfo)
pMse->wheelInertia = 10;
}
pMse->wheelButtonTimeout = xf86SetIntOption(pInfo->options,
- "EmulateWheelButtonTimeout", 200);
+ "EmulateWheelTimeout", 200);
if (pMse->wheelButtonTimeout <= 0) {
- xf86Msg(X_WARNING, "%s: Invalid EmulateWheelButtonTimeout value: %d\n",
+ xf86Msg(X_WARNING, "%s: Invalid EmulateWheelTimeout value: %d\n",
pInfo->name, pMse->wheelButtonTimeout);
pMse->wheelButtonTimeout = 200;
}
@@ -674,7 +674,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
}
xf86Msg(X_CONFIG, "%s: EmulateWheel, EmulateWheelButton: %d, "
"EmulateWheelInertia: %d, "
- "EmulateWheelButtonTimeout: %d\n",
+ "EmulateWheelTimeout: %d\n",
pInfo->name, wheelButton, pMse->wheelInertia,
pMse->wheelButtonTimeout);
}