summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-09-14 14:55:02 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-09-14 15:39:58 +0200
commit26cd031be8b675bd89fc4582e0e4c11116af81d7 (patch)
treec5ed70bf63e65b2dcf255e6fe86dc58d9e2c0de3 /clutter
parent743e8cc249168ccc64073ab83c00c31a30ca22e7 (diff)
downloadmutter-26cd031be8b675bd89fc4582e0e4c11116af81d7.tar.gz
clutter: Use the ClutterScrollFinishFlags when delivering scroll event
This got accidentally hardcoded to CLUTTER_SCROLL_FINISHED_NONE on commit d3c559a917, which broke kinetic scrolling for touchpads on clients.
Diffstat (limited to 'clutter')
-rw-r--r--clutter/clutter/evdev/clutter-device-manager-evdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clutter/clutter/evdev/clutter-device-manager-evdev.c b/clutter/clutter/evdev/clutter-device-manager-evdev.c
index 4470a6274..9de2ea155 100644
--- a/clutter/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/clutter/evdev/clutter-device-manager-evdev.c
@@ -1214,8 +1214,7 @@ notify_continuous_axis (ClutterSeatEvdev *seat,
clutter_seat_evdev_notify_scroll_continuous (seat, device, time_us,
dx, dy,
- scroll_source,
- CLUTTER_SCROLL_FINISHED_NONE);
+ scroll_source, finish_flags);
}
static void