From 7d48c204efd169837a75c752d8c13515388c2a1b Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 24 May 2022 10:22:17 +0800 Subject: [PATCH] pantheon.gala: save/restore easing on workspace switch --- pkgs/desktops/pantheon/desktop/gala/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix index 0cab4d2e08f5..862a52308d9a 100644 --- a/pkgs/desktops/pantheon/desktop/gala/default.nix +++ b/pkgs/desktops/pantheon/desktop/gala/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , pkg-config , meson @@ -38,6 +39,13 @@ stdenv.mkDerivation rec { # We look for plugins in `/run/current-system/sw/lib/` because # there are multiple plugin providers (e.g. gala and wingpanel). ./plugins-dir.patch + + # WindowManager: save/restore easing on workspace switch + # https://github.com/elementary/gala/pull/1430 + (fetchpatch { + url = "https://github.com/elementary/gala/commit/1f94db16c627f73af5dc69714611815e4691b5e8.patch"; + sha256 = "sha256-PLNbAXyOG0TMn1y2QIBnL6BOQVqBA+DBgPOVJo4nDr8="; + }) ]; nativeBuildInputs = [