gnome.mutter43: Remove support for window shading

This fixes a crash when gsettings-desktop-schemas >= 45.alpha is used: Settings schema
'org.gnome.desktop.wm.keybindings' does not contain a key named 'toggle-shaded'.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2884
This commit is contained in:
Bobby Rong 2023-08-16 19:14:41 +08:00 committed by Jan Tojnar
parent 14fb201c7c
commit 5e16f03cec

View File

@ -67,6 +67,18 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch";
sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU=";
})
# Remove support for window shading.
# The corresponding key was removed in gsettings-desktop-schemas 45.alpha.
# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2884
#
# Fetch the patch from magpie as they share same code base and this feature
# is never supported on wayland (note that magpie 0.9.x won't support wayland).
# https://github.com/BuddiesOfBudgie/magpie/issues/9
(fetchpatch {
url = "https://github.com/BuddiesOfBudgie/magpie/commit/4177c466375462ca8ed8fdb60913df4422f19144.patch";
sha256 = "NVx40WDnlUL050D529KVohvNBdVrheXxmJ73U3+KSeQ=";
})
];
mesonFlags = [