Merge pull request #310784 from K900/xwayland-libei-scroll

xwayland: cherry-pick patch to fix scrolling with libei
This commit is contained in:
K900 2024-05-12 09:46:03 +03:00 committed by GitHub
commit 861f29655c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ egl-wayland
, libepoxy
, fetchurl
, fetchpatch
, fontutil
, lib
, libei
@ -53,6 +54,17 @@ stdenv.mkDerivation rec {
hash = "sha256-HJo2a058ytug+b0xPFnq4S0jvXJUOyKibq+LIINc/G0=";
};
patches = [
# Backport fix for libei scrolling
# Notably affects Steam Input, but also anything else using xtest
# FIXME: remove when merged
# Upstream PR: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1531
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/317712eb5a1aa4a1c3d737a8fcaee57add9981c9.patch";
hash = "sha256-TZo38Pyr9IJUF+3bqlmF4M84XGgo9G6WFTvbaP9r0XU=";
})
];
depsBuildBuild = [
pkg-config
];