summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-01-10 11:25:07 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-01-22 09:59:37 +1000
commitb7a2d8e7eb57fb11ec7753d555ab479475fe5230 (patch)
treed8b3d891a6fc93cde96b0a8ad270f9b4b7de6942
parenta7de9daa67afbf0c721e681809be2fbe519d26c8 (diff)
downloadxf86-input-wacom-b7a2d8e7eb57fb11ec7753d555ab479475fe5230.tar.gz
Drop unused maxWidth/maxHeight
These two are never set to anything but 0 since xf86-input-wacom-0.10.10-19-g6f5f29b Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ping Cheng <pinglinux@gmail.com>
-rw-r--r--src/wcmCommon.c6
-rw-r--r--src/xf86WacomDefs.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 30b6ead..e773999 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -99,10 +99,8 @@ void wcmMappingFactor(InputInfoPtr pInfo)
DBG(10, priv, "\n"); /* just prints function name */
DBG(10, priv,
- "Active tablet area x=%d y=%d map"
- " to maxWidth =%d maxHeight =%d\n",
- priv->bottomX, priv->bottomY,
- priv->maxWidth, priv->maxHeight);
+ "Active tablet area x=%d y=%d map\n",
+ priv->bottomX, priv->bottomY);
/* bottomX/bottomY are scaled values of maxX/maxY such that it
* will scale tablet to screen ratio when passed to xf86AxisScale().
diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h
index abfde70..29355f6 100644
--- a/src/xf86WacomDefs.h
+++ b/src/xf86WacomDefs.h
@@ -244,8 +244,6 @@ struct _WacomDeviceRec
unsigned int serial; /* device serial number this device takes (if 0, any serial is ok) */
unsigned int cur_serial; /* current serial in prox */
int cur_device_id; /* current device ID in prox */
- int maxWidth; /* max active screen width in screen coords */
- int maxHeight; /* max active screen height in screen coords */
int leftPadding; /* left padding for virtual tablet in device coordinates*/
int topPadding; /* top padding for virtual tablet in device coordinates*/