These two are never set to anything but 0 since xf86-input-wacom-0.10.10-19-g6f5f29b
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- src/wcmCommon.c | 6 ++---- src/xf86WacomDefs.h | 2 -- 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*/ -- 1.8.1 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel