diff options
author | Daniel Kurtz <djkurtz@google.com> | 2011-02-14 22:08:41 +0800 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-21 12:56:33 +1000 |
commit | ee99d4f7bc3374e8bac083ac4ea159f5da43db06 (patch) | |
tree | b37af9f74587351db02784f04235dbd833ad1891 | |
parent | 7771bc91c989d1ac6f6147f2b26e5d7e70555856 (diff) |
Stop scrolling if not exactly two fingers on touchpad.
X.Org Bug 34257 <http://bugs.freedesktop.org/show_bug.cgi?id=34257>
Signed-off-by: Daniel Kurtz <djkurtz@google.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/synaptics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c index 0a7ceac..56ce725 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2026,7 +2026,7 @@ HandleScrolling(SynapticsPrivate *priv, struct SynapticsHwState *hw, priv->circ_scroll_on = FALSE; } - if (!finger || hw->numFingers < 2) { + if (!finger || hw->numFingers != 2) { if (priv->vert_scroll_twofinger_on) { DBG(7, "vert two-finger scroll off\n"); priv->vert_scroll_twofinger_on = FALSE; |