mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 14:31:42 +00:00
desktop-shell: Don't restart client on exit
When we're shutting down, don't try to restart the shell client. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
9aa68248a9
commit
570bf1824a
|
@ -4359,8 +4359,10 @@ desktop_shell_client_destroy(struct wl_listener *listener, void *data)
|
|||
* returning.
|
||||
*/
|
||||
|
||||
if (!check_desktop_shell_crash_too_early(shell))
|
||||
if (!shell->compositor->shutting_down &&
|
||||
!check_desktop_shell_crash_too_early(shell)) {
|
||||
respawn_desktop_shell_process(shell);
|
||||
}
|
||||
|
||||
shell_fade_startup(shell);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue