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


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to