From 26cd031be8b675bd89fc4582e0e4c11116af81d7 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 14 Sep 2017 14:55:02 +0200 Subject: [PATCH] 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. --- clutter/clutter/evdev/clutter-device-manager-evdev.c | 3 +-- 1 file changed, 1 insertion(+), 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