summaryrefslogtreecommitdiff
path: root/src/evdev-mt-touchpad.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-09-25 15:58:04 +0200
committerHans de Goede <hdegoede@redhat.com>2014-11-06 11:04:17 +0100
commit23031c8fd70a98ef32a80ded6299010ea5e732c2 (patch)
tree8238d4866d6cad0a9ebadf514205bfbe3072e6a8 /src/evdev-mt-touchpad.h
parent83fb3a89bedae6761963e083ed7067b45b3362cb (diff)
downloadlibinput-23031c8fd70a98ef32a80ded6299010ea5e732c2.tar.gz
touchpad: Don't send scroll events during 2 finger tap-n-drag
The touchpad tap code explicitly supports 2 finger tap-n-drag, this commit adds a test-case for this, which fails due to the 2 finger scrolling code sending scroll events during a 2 finger tap-n-drag. And this commit fixes the test-case, by not sending scroll events while a tap-n-drag is active. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/evdev-mt-touchpad.h')
-rw-r--r--src/evdev-mt-touchpad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev-mt-touchpad.h b/src/evdev-mt-touchpad.h
index 2fda4efd..91f6e4ae 100644
--- a/src/evdev-mt-touchpad.h
+++ b/src/evdev-mt-touchpad.h
@@ -291,4 +291,7 @@ tp_tap_suspend(struct tp_dispatch *tp, uint64_t time);
void
tp_tap_resume(struct tp_dispatch *tp, uint64_t time);
+bool
+tp_tap_dragging(struct tp_dispatch *tp);
+
#endif