diff options
author | Batchty <batchman@free.fr> | 2008-11-24 11:31:48 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-11-25 09:45:16 +1000 |
commit | 13c93be34dfcd0e57b14f86688fd2ad4efda028c (patch) | |
tree | 2026a22aa2cb99e694626b6d41e66bcafd209cb6 /src | |
parent | 6cbdb0a10574d57a563337adb54afdf89996bc36 (diff) |
Stop two-finger scrolling if no finger is present.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Simon Thum <eGore@gmx.de>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src')
-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 dce2c9c..15fb636 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1671,7 +1671,7 @@ HandleScrolling(SynapticsPrivate *priv, struct SynapticsHwState *hw, priv->circ_scroll_on = FALSE; } - if (hw->numFingers < 2) { + if (!finger || hw->numFingers < 2) { if (priv->vert_scroll_twofinger_on) { DBG(7, ErrorF("vert two-finger scroll off\n")); priv->vert_scroll_twofinger_on = FALSE; |