From 104d1ae15140625d8c7e29a7bef5384eac81dbf3 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Sat, 29 Feb 2020 23:42:29 +0100 Subject: [PATCH] windowManager: Fix shutdown signal connection This signal relied on mutter changes that were withdrawn and it was unintended to use here. Restore the usage of good old MetaDisplay::x11-display-closing. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1056 --- js/ui/windowManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index d02d2e183..9e15ba70a 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -922,10 +922,9 @@ var WindowManager = class { null); return true; }); - global.display.connect('shutdown-xserver', (display, task) => { + global.display.connect('x11-display-closing', () => { Shell.util_stop_systemd_unit('gsd-xsettings.target', 'fail'); IBusManager.getIBusManager().restartDaemon(); - task.return_boolean(true); }); Main.overview.connect('showing', () => {