The tiny patch below disables the clickpad hardware "button" when syndaemon has asked us to disable tapping. Without this patch, I frequently find myself accidentally clicking while typing.

Index: src/synaptics.c
===================================================================
--- src/synaptics.c     2013-10-27 01:52:44.586863030 -0700
+++ src/synaptics.c     2013-10-27 01:52:53.442862768 -0700
@@ -2797,6 +2797,11 @@
         return delay;
     }

+    /* If we have a clickpad and we've been asked to disable taps,
+     * also pretend the hardware button isn't pressed. */
+    if (para->touchpad_off == TOUCHPAD_TAP_OFF && para->clickpad)
+        hw->left = hw->middle = hw->right = FALSE;
+
     /* We need both and x/y, the driver can't handle just one of the two
      * yet. But since it's possible to hit a phys button on non-clickpads
* without ever getting motion data first, we must continue with 0/0 for
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to