about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2019-02-23 08:43:27 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2019-02-23 08:43:27 +0000
commit4f40607e7e82b9f6bbbca6d667334e28e40ce511 (patch)
tree4680a39ed8f611ca5ce7cb3f48ca3ab992161694 /pkgs
parentd7806fe4ed8b82605367d77a02908705e9aac1a2 (diff)
downloadnixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar.gz
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar.bz2
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar.lz
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar.xz
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.tar.zst
nixlib-4f40607e7e82b9f6bbbca6d667334e28e40ce511.zip
gnome3.mutter: add patch for upstream issue #270
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/gnome-3/core/mutter/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/core/mutter/default.nix b/pkgs/desktops/gnome-3/core/mutter/default.nix
index 9a1418cbe0a9..1c3d4d5e62cb 100644
--- a/pkgs/desktops/gnome-3/core/mutter/default.nix
+++ b/pkgs/desktops/gnome-3/core/mutter/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
+{ fetchurl, fetchpatch, stdenv, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
 , pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
 , libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
 , pipewire, libgudev, libwacom, xwayland, autoreconfHook }:
@@ -16,6 +16,17 @@ stdenv.mkDerivation rec {
     updateScript = gnome3.updateScript { packageName = "mutter"; attrPath = "gnome3.mutter"; };
   };
 
+  patches = [
+    # https://gitlab.gnome.org/GNOME/mutter/issues/270
+    # Fixes direction of the desktop switching animation when using workspace
+    # grid extension with desktops arranged horizontally.
+    (fetchpatch {
+      url = https://gitlab.gnome.org/GNOME/mutter/commit/92cccf53dfe9e077f1d61ac4f896fd391f8cb689.patch;
+      sha256 = "11vmypypjss50xg7hhdbqrxvgqlxx4lnwy59089qsfl3akg4kk2i";
+    })
+  ];
+
+
   configureFlags = [
     "--with-x"
     "--disable-static"