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
This commit is contained in:
parent
12e14884ef
commit
104d1ae151
@ -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', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user