Kinetic scroll in libinput Xorg driver

Carlos Garnacho carlosg at gnome.org
Thu Oct 27 09:51:00 UTC 2016


Hey Carsten!,

On Thu, Oct 27, 2016 at 4:11 AM, Carsten Haitzler <raster at rasterman.com> wrote:
> On Wed, 26 Oct 2016 06:57:53 +0000 "Alexis BRENON @Wayland" <brenon.alexis
> +wayland at gmail.com> said:
>
>> Just to be sure that I understand clearly, what you call 'Toolkit' is
>> libraries like GTK, Qt, and co. that are used by developers to build their
>> apps, isn't it ?
>
> yes. toolkit == EFL, Qt, GTK+ and others (SDL is kind of a toolkit), FLTK, ...
> chromium/blink is basically a toolkit of its own etc.
>
> at least looking at gtk3 here it doesn't do momentum with wheel/axis scrolling
> (out of the box). maybe it needs enabling?

FWIW, that should happen out of the box whenever we got
wl_pointer.axis_stop on both axes:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkscrolledwindow.c#n3399

The usual caveats apply, that doesn't help if the app plays smart and
tries to implement its own scroller widget.

Cheers,
  Carlos


More information about the wayland-devel mailing list