Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > media > main-release-src > by-pkgid > 0a7df3c0b4c3f58f5bb1acfa75201203 > files > 1

x11-driver-input-synaptics-1.2.2-2mdv2010.1.src.rpm

--- xf86-input-synaptics-1.2.0/src/synaptics.c.tap_button	2009-10-08 05:41:40.000000000 +0200
+++ xf86-input-synaptics-1.2.0/src/synaptics.c	2009-11-10 18:40:00.000000000 +0100
@@ -435,9 +435,9 @@ static void set_default_parameters(Local
     }
 
     /* Enable tap if we don't have a phys left button */
-    tapButton1 = priv->has_left ? 0 : 1;
-    tapButton2 = priv->has_left ? 0 : 3;
-    tapButton3 = priv->has_left ? 0 : 2;
+    tapButton1 = 1; /*priv->has_left ? 0 : 1;*/
+    tapButton2 = 3; /*priv->has_left ? 0 : 3;*/
+    tapButton3 = 2; /*priv->has_left ? 0 : 2;*/
 
     /* Enable multifinger-click if we don't have right/middle button,
        otherwise clickFinger is always button 1. */
@@ -446,11 +446,11 @@ static void set_default_parameters(Local
     clickFinger3 = priv->has_middle ? 1 : 2;
 
     /* Enable vert edge scroll if we can't detect doubletap */
-    vertEdgeScroll = priv->has_double ? FALSE : TRUE;
+    vertEdgeScroll = TRUE; /*priv->has_double ? FALSE : TRUE;*/
     horizEdgeScroll = FALSE;
 
     /* Enable twofinger scroll if we can detect doubletap */
-    vertTwoFingerScroll = priv->has_double ? TRUE : FALSE;
+    vertTwoFingerScroll = FALSE; /*priv->has_double ? TRUE : FALSE;*/
     horizTwoFingerScroll = FALSE;
 
     /* Use resolution reported by hardware if available */