summaryrefslogtreecommitdiff
path: root/src/evdev-mt-touchpad-edge-scroll.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-06-16 15:39:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-06-22 08:07:12 +1000
commit51b694e28216b041a620d26ab2f3de6261a2e820 (patch)
tree7c81a24cb6c5ae33591cfcf72a4880850affd984 /src/evdev-mt-touchpad-edge-scroll.c
parent9c2afae146f112cbc196572d7e81a511ca6a9b32 (diff)
touchpad: disable right-edge palm detection for edge scrolling
Most scroll motions would be labelled a palm. https://bugs.freedesktop.org/show_bug.cgi?id=90980 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/evdev-mt-touchpad-edge-scroll.c')
-rw-r--r--src/evdev-mt-touchpad-edge-scroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-mt-touchpad-edge-scroll.c b/src/evdev-mt-touchpad-edge-scroll.c
index f5cfa9d..56f1e8a 100644
--- a/src/evdev-mt-touchpad-edge-scroll.c
+++ b/src/evdev-mt-touchpad-edge-scroll.c
@@ -75,7 +75,7 @@ edge_event_to_str(enum scroll_event event)
return NULL;
}
-static uint32_t
+uint32_t
tp_touch_get_edge(struct tp_dispatch *tp, struct tp_touch *t)
{
uint32_t edge = EDGE_NONE;