gtkscrolledwindow: Do not try to doubly trigger deceleration
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Feb 2022 19:27:43 +0000 (20:27 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Mar 2022 02:02:45 +0000 (22:02 -0400)
commit3764b27babc1cf94f27dfe2079426846d53d0256
treee751e47281ee88d90e79466011f93bbe57d54706
parent8fb610915c4601eba4f517d3c507425a1f88b20d
gtkscrolledwindow: Do not try to doubly trigger deceleration

This may come from different sources at around the same time, e.g.
a hold gesture while on overshoot. Avoid doing that if an
animation is already set.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4730
gtk/gtkscrolledwindow.c