Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
x86:x86-common
>
xorg-x11-drv-synaptics
> Enabe-tap-whatever-left-button-exists.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File Enabe-tap-whatever-left-button-exists.patch of Package xorg-x11-drv-synaptics
diff -urN xf86-input-synaptics-1.3.0.orig/src/synaptics.c xf86-input-synaptics-1.3.0/src/synaptics.c --- xf86-input-synaptics-1.3.0.orig/src/synaptics.c 2010-08-20 09:11:24.000000000 +0800 +++ xf86-input-synaptics-1.3.0/src/synaptics.c 2011-01-25 12:28:50.000000000 +0800 @@ -481,10 +481,10 @@ palmMinWidth = priv->minw + range * (10.0/16); emulateTwoFingerMinW = priv->minw + range * (7.0/16); - /* 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; + /* Enable tap whatever we have a phys left button */ + tapButton1 = 1; + tapButton2 = 3; + tapButton3 = 2; /* Enable multifinger-click if only have one physical button, otherwise clickFinger is always button 1. */