Unverified Commit 861f2965 authored by K900's avatar K900 Committed by GitHub
Browse files

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

xwayland: cherry-pick patch to fix scrolling with libei
parents 711b534c 5e1e7eb6
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
{ 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
  ];