gnome-shell: fix xwayland See [1] for reference.
[1] https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4284
This commit is contained in:
parent
6f909f6a62
commit
1c247306ab
2 changed files with 28 additions and 1 deletions
27
srcpkgs/gnome-shell/patches/fix-xwayland.patch
Normal file
27
srcpkgs/gnome-shell/patches/fix-xwayland.patch
Normal file
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gnome-shell'
|
# Template file for 'gnome-shell'
|
||||||
pkgname=gnome-shell
|
pkgname=gnome-shell
|
||||||
version=40.1
|
version=40.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper=gir
|
build_helper=gir
|
||||||
configure_args="-Dsystemd=false"
|
configure_args="-Dsystemd=false"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue