summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-10-18 09:44:35 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-10-18 09:48:15 +1000
commit26d5eaeb6b9321ad1a794846333a60125df7317d (patch)
tree304bf114785382171caf69d4f5c3797e09c140df /src
parente2260fef76b08f782ab5640ae490d9b2da33c94b (diff)
Replace two LocalDevicePtr with InputInfoPtr.
ABI 12 removes the LocalDevicePtr define from the server, InputInfoPtr is the replacement. Compile error introduced in 0b28a4c046a30ccb83278ea0aa59541fad89092c. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index b490009..bf15924 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -2520,8 +2520,8 @@ CloseProc(InputInfoPtr pInfo)
static int
SwitchMode(ClientPtr client, DeviceIntPtr dev, int mode)
{
- LocalDevicePtr local = (LocalDevicePtr) dev->public.devicePrivate;
- SynapticsPrivate *priv = (SynapticsPrivate *) (local->private);
+ InputInfoPtr pInfo = (InputInfoPtr) dev->public.devicePrivate;
+ SynapticsPrivate *priv = (SynapticsPrivate *) (pInfo->private);
DBG(3, "SwitchMode called\n");