Commit c896cb75 authored by K900's avatar K900
Browse files

kdePackages.kwin: backport patch recommended by upstream

parent 63500796
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  fetchpatch,
  mkKdeDerivation,
  pkg-config,
  qtquick3d,
@@ -25,6 +26,14 @@ 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 very annoying flickering on AMD GPUs
    # when animating brightness changes.
    # FIXME: remove in 6.4.5
    (fetchpatch {
      url = "https://invent.kde.org/plasma/kwin/-/commit/7d36003cb073ed2ad48b2743883db993106c347a.patch";
      hash = "sha256-x+GVRU1CIne1TsGJsk2+JbWJi/wuDOFiABXuqgDD9bs=";
    })
  ];

  postPatch = ''