mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Do not shutdown ibus/xsettings on X11 compositor restart
These paths are meant for Xwayland, not for X11 compositors being restarted through alt-f2 + r. Maybe some signal analogous to init-xserver should be added for Xwayland shutdown paths, but this signal we are currently listening for is backend agnostic. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2329
This commit is contained in:
parent
94f6976ddd
commit
72c4f148ef
1 changed files with 2 additions and 0 deletions
|
|
@ -924,6 +924,8 @@ var WindowManager = class {
|
|||
return true;
|
||||
});
|
||||
global.display.connect('x11-display-closing', () => {
|
||||
if (!Meta.is_wayland_compositor())
|
||||
return;
|
||||
Shell.util_stop_systemd_unit('gsd-xsettings.target', 'fail');
|
||||
IBusManager.getIBusManager().restartDaemon();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue