gtkscrolledwindow: Do not try to doubly trigger deceleration
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Feb 2022 19:27:43 +0000 (20:27 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 28 Feb 2022 19:27:43 +0000 (20:27 +0100)
commit33db142eab6978b10ec6d668cebdbd88dca8d723
tree1adfa418227b199e82d6a32abf018ffdba3c78df
parent68319afd2373128cb83c28cf70869c0be35874d1
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