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:
parent
ed903c440d
commit
e0c4b2b241
@ -1102,7 +1102,7 @@ meta_seat_impl_notify_discrete_scroll_in_impl (MetaSeatImpl *seat_impl,
|
|||||||
dx,
|
dx,
|
||||||
dy,
|
dy,
|
||||||
scroll_source, CLUTTER_SCROLL_FINISHED_NONE,
|
scroll_source, CLUTTER_SCROLL_FINISHED_NONE,
|
||||||
FALSE);
|
TRUE);
|
||||||
|
|
||||||
/* Notify discrete scroll only when the accumulated value reach 120 */
|
/* Notify discrete scroll only when the accumulated value reach 120 */
|
||||||
evdev_device = META_INPUT_DEVICE_NATIVE (input_device);
|
evdev_device = META_INPUT_DEVICE_NATIVE (input_device);
|
||||||
|
Loading…
Reference in New Issue
Block a user