[mutter] clutter: Use the ClutterScrollFinishFlags when delivering scroll event



commit 26cd031be8b675bd89fc4582e0e4c11116af81d7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Sep 14 14:55:02 2017 +0200

    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/evdev/clutter-device-manager-evdev.c   |    3 +--
 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 4470a62..9de2ea1 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]