summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2011-02-28 16:38:21 +0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-01 11:53:39 +1000
commitc731f5878b516d2ff613c74305473cdfc3ee0794 (patch)
tree3a465bde9a4eaa3c8634f999f7099c9e3f83a737 /src
parent6ac0572951fa7883bbbe781884cdade2c4537760 (diff)
Renamed SynapticsDefaultDimensions in SanitizeDimensions
Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 1f5b68c..ab7a463 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -130,7 +130,7 @@ static Bool QueryHardware(InputInfoPtr);
static void ReadDevDimensions(InputInfoPtr);
static void ScaleCoordinates(SynapticsPrivate *priv, struct SynapticsHwState *hw);
static void CalculateScalingCoeffs(SynapticsPrivate *priv);
-static void SynapticsDefaultDimensions(InputInfoPtr pInfo);
+static void SanitizeDimensions(InputInfoPtr pInfo);
void InitDeviceProperties(InputInfoPtr pInfo);
int SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop,
@@ -185,7 +185,7 @@ _X_EXPORT XF86ModuleData synapticsModuleData = {
* men, or possibly apes.
*/
static void
-SynapticsDefaultDimensions(InputInfoPtr pInfo)
+SanitizeDimensions(InputInfoPtr pInfo)
{
SynapticsPrivate *priv = (SynapticsPrivate *)pInfo->private;
@@ -2614,7 +2614,7 @@ ReadDevDimensions(InputInfoPtr pInfo)
if (priv->proto_ops->ReadDevDimensions)
priv->proto_ops->ReadDevDimensions(pInfo);
- SynapticsDefaultDimensions(pInfo);
+ SanitizeDimensions(pInfo);
}
static Bool