The MOZ_USE_XINPUT2=1 version brings real smooth scrolling and touchscreen input, but is barely known. https://bugzilla.mozilla.org/show_bug.cgi?id=1207973 It should be enabled by default, there's no drawback. https://www.x.org/wiki/guide/extensions/#index2h2 The simplest solution could be to create /etc/env.d/80firefox with MOZ_USE_XINPUT2=1
...i'm going to sit on this one and think a while. I would generally prefer not to install env.d/ entries for things like this, and instead leave it up to the user to do in their own profiles. That said there may be build-time options or 'pref' options that can be leveraged to take care of this, too.
FYI, this is the upstream tracker bug related to enabling xinput2 by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1207700
(In reply to Ian Stakenvicius from comment #2) > FYI, this is the upstream tracker bug related to enabling xinput2 by default: > > https://bugzilla.mozilla.org/show_bug.cgi?id=1207700 Generally I don't care much, since I'm already on MOZ_ENABLE_WAYLAND=1 . Since proper Wayland is probably much closer, than closing all XI2 issues (same developer assigned, so maybe could be better keep him Wayland focused), we could eventually close this issue? MOZ_USE_XINPUT2 could be set on Gentoo side, since all Gentoo-relevant XI2 bugs are solved, but WON'T FIX is also solution for slowly fading Xorg.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53b263fb37b6029ac05878c70a11eca8513a60b commit f53b263fb37b6029ac05878c70a11eca8513a60b Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-29 23:43:09 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-30 11:45:10 +0000 www-client/firefox-bin: enable MOZ_USE_XINPUT2 Closes: https://bugs.gentoo.org/617344 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox-bin/files/firefox-bin.sh | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68279af6b5e48cb6ddfcae07a645d9dce1bf8a4b commit 68279af6b5e48cb6ddfcae07a645d9dce1bf8a4b Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-29 23:40:56 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-30 11:45:10 +0000 www-client/firefox: enable MOZ_USE_XINPUT2 Closes: https://bugs.gentoo.org/617344 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/files/firefox.sh | 5 +++++ 1 file changed, 5 insertions(+)