-
Mario Sanchez Prada authored
Similar to what it's done in _shell_app_add_window(), rely on calling shell_app_sync_running_state() when removing windows too, to avoid transitioning to STOPPED while it's still in the STARTING state. This makes the logic compliant with the startup notification spec and prevents stopping an application too early if it has a splash screen that has been closed before the application's main window is shown. https://bugzilla.gnome.org/show_bug.cgi?id=787905
b5f5a594