summaryrefslogtreecommitdiff
path: root/src/properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/properties.c')
-rw-r--r--src/properties.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/properties.c b/src/properties.c
index 2830bba..53d91a7 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -159,7 +159,7 @@ static void
InitSoftButtonProperty(InputInfoPtr pInfo)
{
SynapticsPrivate *priv = (SynapticsPrivate *) pInfo->private;
- SynapticsParameters *para = &priv->synpara;
+ struct SynapticsParameters *para = &priv->synpara;
int values[8];
values[0] = para->softbutton_areas[0][0];
@@ -178,7 +178,7 @@ void
InitDeviceProperties(InputInfoPtr pInfo)
{
SynapticsPrivate *priv = (SynapticsPrivate *) pInfo->private;
- SynapticsParameters *para = &priv->synpara;
+ struct SynapticsParameters *para = &priv->synpara;
int values[9]; /* we never have more than 9 values in an atom */
float fvalues[4]; /* never have more than 4 float values */
@@ -367,8 +367,8 @@ SetProperty(DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop,
{
InputInfoPtr pInfo = dev->public.devicePrivate;
SynapticsPrivate *priv = (SynapticsPrivate *) pInfo->private;
- SynapticsParameters *para = &priv->synpara;
- SynapticsParameters tmp;
+ struct SynapticsParameters *para = &priv->synpara;
+ struct SynapticsParameters tmp;
/* If checkonly is set, no parameters may be changed. So just let the code
* change temporary variables and forget about it. */