Skip to content
Snippets Groups Projects
Commit 2212f051 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

widget: handle smooth-scroll events

With touchpads and similar devices, scroll events are not emitted on
Wayland, but only smooth-scroll events.

There is some discussion about handling smooth-scroll events in Spice
(see "Add horizontal mouse wheel support" thread), but it will mean
support from various components. For compatibility reasons, in the
meantime, let's synthetize the smooth-scroll events to regular scroll
buttons to fix scrolling.

Tested on f28, gnome-shell under X and wayland.

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1386602



Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
parent 62769440
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment