gnome-shell: fix xwayland See [1] for reference.

[1] https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4284
This commit is contained in:
Enno Boland 2021-05-15 21:15:26 +02:00
parent 6f909f6a62
commit 1c247306ab
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D
2 changed files with 28 additions and 1 deletions

View 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);
}
}

View file

@ -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"