doc: guarantee end sequence for continuous scroll
authorJosé Expósito <jose.exposito89@gmail.com>
Sun, 19 Sep 2021 19:23:41 +0000 (21:23 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Sun, 19 Sep 2021 19:32:59 +0000 (21:32 +0200)
commit5f966dc6c67194d2eaba250cea9832bbb017e565
tree5f1cf6644ffb1d076f8ef3691f7402ba265a6393
parent77b36de85dbfe3891deeb101f2f8485da1b30baa
doc: guarantee end sequence for continuous scroll

GTK handles LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS as
GDK_SCROLL_SMOOTH, the same event type that is used to handle
LIBINPUT_EVENT_POINTER_SCROLL_FINGER.

Because Mutter and other compositors, like wlroots based compositors,
translate libinput terminating event to axis_stop instead of doing their
own emulation, if libinput stops sending terminating events, it will
cause client bugs.

Since libinput always sends the terminating event for trackpoints and
button scrolling and there are even tests in place to check for them,
update the documentation to guarantee the terminating scroll sequence.

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
src/libinput.h