On Fri, Mar 18, 2011 at 03:07:24PM -0700, Ping Cheng wrote:
> Get the "f" out of the code as well as the root cause.
> 
> A proper fix would be to use resolution to decide the distance.
> That can be considered when we push the resolution table to
> the kernel. Hopefully, at that time, we can also post MT events
> to XInput 2.1 and push the gesture support to the desktop.
> 
> Signed-off-by: Ping Cheng <[email protected]>
> ---
>  src/wcmValidateDevice.c |    8 --------
>  1 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
> index 69bb3a3..65fbdf9 100644
> --- a/src/wcmValidateDevice.c
> +++ b/src/wcmValidateDevice.c
> @@ -728,14 +728,6 @@ int wcmParseOptions(InputInfoPtr pInfo, int hotplugged)
>                       xf86Msg(X_WARNING, "%s: Touch gesture option can only "
>                               "be set by a touch tool.\n", pInfo->name);
>  
> -             /* FIXME: wtf is this here?? */
> -             if (IsUSBDevice(common) &&
> -                             TabletHasFeature(common, WCM_LCD) &&
> -                             TabletHasFeature(common, WCM_2FGT)) {
> -                     common->wcmGestureParameters.wcmZoomDistanceDefault = 
> 30;
> -                     common->wcmGestureParameters.wcmScrollDistanceDefault = 
> 30;
> -             }
> -
>               common->wcmGestureParameters.wcmZoomDistance =
>                       xf86SetIntOption(pInfo->options, "ZoomDistance",
>                       common->wcmGestureParameters.wcmZoomDistanceDefault);
> -- 
> 1.7.4
> 
merged, thanks.

Cheers,
  Peter

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to