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

kdePackages.kwin: backport fix recommended by upstream (#503598)

parents d6b8efd9 c1e7a637
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
  pipewire,
  krunner,
  python3,
  fetchpatch,
}:
mkKdeDerivation {
  pname = "kwin";
@@ -26,6 +27,13 @@ mkKdeDerivation {
    ./0003-plugins-qpa-allow-using-nixos-wrapper.patch
    ./0001-NixOS-Unwrap-executable-name-for-.desktop-search.patch
    ./0001-Lower-CAP_SYS_NICE-from-the-ambient-set.patch

    # backport fix for AMDGPU display corruption
    # FIXME: remove in next update
    (fetchpatch {
      url = "https://invent.kde.org/plasma/kwin/-/commit/bc2efa2f0e848ff0a621377cfe1141294c91b1bf.diff";
      hash = "sha256-eLrwHCKRgFimUMhIibQPEv5NAOo0GlSxY7TbtIa2/eY=";
    })
  ];

  postPatch = ''