diff --git a/srcpkgs/gnome-shell/patches/fix-xwayland.patch b/srcpkgs/gnome-shell/patches/fix-xwayland.patch new file mode 100644 index 0000000000..d5788be1d0 --- /dev/null +++ b/srcpkgs/gnome-shell/patches/fix-xwayland.patch @@ -0,0 +1,27 @@ +This reverts commit 019229c40efb67e3d26f14afa71bf926efeff3fb. + +ref: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4284 + +diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js +index 49d3dda22..5a3327b1b 100644 +--- ./js/ui/windowManager.js ++++ ./js/ui/windowManager.js +@@ -973,7 +973,6 @@ var WindowManager = class { + } + + async _startX11Services(task, cancellable) { +- let status = true; + try { + await Shell.util_start_systemd_unit( + 'gnome-session-x11-services-ready.target', 'fail', cancellable); +@@ -984,9 +983,8 @@ var WindowManager = class { + // Note that we do log cancellation from here. + if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.NOT_SUPPORTED)) + log('Error starting X11 services: %s'.format(e.message)); +- status = false; + } finally { +- task.return_boolean(status); ++ task.return_boolean(true); + } + } + diff --git a/srcpkgs/gnome-shell/template b/srcpkgs/gnome-shell/template index 5747ad3681..5ecc9e8061 100644 --- a/srcpkgs/gnome-shell/template +++ b/srcpkgs/gnome-shell/template @@ -1,7 +1,7 @@ # Template file for 'gnome-shell' pkgname=gnome-shell version=40.1 -revision=1 +revision=2 build_style=meson build_helper=gir configure_args="-Dsystemd=false"