This field was only ever set, but never read from anywhere. It seems to have been removed with commit 088dab520184: Support dual Cintiq with TwinView setup
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmConfig.c | 12 ------------ src/xf86WacomDefs.h | 1 - 2 files changed, 0 insertions(+), 13 deletions(-) diff --git a/src/wcmConfig.c b/src/wcmConfig.c index a1f594c..1102327 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -295,7 +295,6 @@ static Bool wcmMatchDevice(LocalDevicePtr pMatch, LocalDevicePtr pLocal) WacomDevicePtr privMatch = (WacomDevicePtr)pMatch->private; WacomDevicePtr priv = (WacomDevicePtr)pLocal->private; WacomCommonPtr common = priv->common; - char * type; if ((pLocal != pMatch) && strstr(pMatch->drv->driverName, "wacom") && @@ -303,17 +302,6 @@ static Bool wcmMatchDevice(LocalDevicePtr pMatch, LocalDevicePtr pLocal) { DBG(2, priv, "port share between" " %s and %s\n", pLocal->name, pMatch->name); - type = xf86FindOptionValue(pMatch->options, "Type"); - if ( type && (strstr(type, "eraser")) ) - privMatch->common->wcmEraserID=pMatch->name; - else - { - type = xf86FindOptionValue(pLocal->options, "Type"); - if ( type && (strstr(type, "eraser")) ) - { - privMatch->common->wcmEraserID=pLocal->name; - } - } xfree(common); common = priv->common = privMatch->common; priv->next = common->wcmDevices; diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h index 22a0642..a12dc9b 100644 --- a/src/xf86WacomDefs.h +++ b/src/xf86WacomDefs.h @@ -405,7 +405,6 @@ struct _WacomCommonRec WacomDeviceClassPtr wcmDevCls; /* device class functions */ WacomModelPtr wcmModel; /* model-specific functions */ - char * wcmEraserID; /* eraser associated with the stylus */ int wcmTPCButton; /* set Tablet PC button on/off */ int wcmTouch; /* disable/enable touch event */ int wcmTPCButtonDefault; /* Tablet PC button default */ -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
