1
0
Fork 0

backends/native: Mark the emulated smooth scroll event as such

This path is hit for discrete (wheel) scroll events from libinput but
the emulated smooth scroll event isn't marked as such.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3637>
This commit is contained in:
Peter Hutterer 2024-03-04 11:49:16 +10:00 committed by Marge Bot
parent ed903c440d
commit e0c4b2b241

View file

@ -1102,7 +1102,7 @@ meta_seat_impl_notify_discrete_scroll_in_impl (MetaSeatImpl *seat_impl,
dx,
dy,
scroll_source, CLUTTER_SCROLL_FINISHED_NONE,
FALSE);
TRUE);
/* Notify discrete scroll only when the accumulated value reach 120 */
evdev_device = META_INPUT_DEVICE_NATIVE (input_device);