diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/evdev-mt-touchpad-edge-scroll.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev-mt-touchpad-edge-scroll.c b/src/evdev-mt-touchpad-edge-scroll.c index 081d2c4..1d30bca 100644 --- a/src/evdev-mt-touchpad-edge-scroll.c +++ b/src/evdev-mt-touchpad-edge-scroll.c @@ -338,6 +338,9 @@ tp_edge_scroll_handle_state(struct tp_dispatch *tp, uint64_t time) if (t->state == TOUCH_BEGIN) t->scroll.edge_state = EDGE_SCROLL_TOUCH_STATE_AREA; + else if (t->state == TOUCH_END) + t->scroll.edge_state = + EDGE_SCROLL_TOUCH_STATE_NONE; } return; } |