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…
x
Reference in New Issue
Block a user