[Wayland-bugs] [Bug 756729] No kinetic scrolling on Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 14 10:33:43 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=756729

--- Comment #9 from Carlos Garnacho <carlosg at gnome.org> ---
Created attachment 319038
  --> https://bugzilla.gnome.org/attachment.cgi?id=319038&action=edit
wayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop

This adds support for the new wl_pointer events available in v5.

The wl_pointer.axis_source events can be ignored for the purposes here, the
main reason they exist is so that the combination of axis_source=finger and
axis_stop triggers kinetic scrolling. We don't need to care about the source,
axis_stop is enough for us to tell us when we're scrolling.

The wl_pointer.frame events group events together and is intended as a
mechanism to coalesce events together. This for example allows us to now
send a single GTK scroll event for a diagonal scroll. Previously, the two
wl_pointer.axis events had to be handled separately.

The wl_pointer.axis_discrete event sends mouse wheel clicks where
appropriate, and is translated into up/down/left/right scroll events.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160114/5fd79768/attachment.html>


More information about the wayland-bugs mailing list