gdk/x11: Reset all scroll valuators on enter
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Feb 2023 12:10:42 +0000 (13:10 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 9 Sep 2023 19:32:02 +0000 (20:32 +0100)
commitd708910bad668b1cf92b8175680bf46a9e438d83
tree156fa54388368e27ca9effada8d081a4bdfe9fb3
parent63021406575aebba941694a30505fe5fda17eed9
gdk/x11: Reset all scroll valuators on enter

We no longer need to make much distinction between multiple logical
devices, plus it breaks esp. with the Xwayland input device distribution.
Just iterate across all devices and reset their scroll valuators.

(cherry picked from commit 824e983372d939693f7eba5c394e647a9035a0f8)

Origin: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5479
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4160
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5202
Bug-Debian: https://bugs.debian.org/1029972
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/1993594
Applied-upstream: 4.9.3, commit:824e983372d939693f7eba5c394e647a9035a0f8
Applied-upstream: 4.8.4, commit:37843ec941f611a6c9e05732442c86e99016d5f0

Gbp-Pq: Name gdk-x11-Reset-all-scroll-valuators-on-enter.patch
gdk/x11/gdkdevicemanager-xi2.c