Show splash-screen content

Since switching to StartupFSM, the GUIIdle signal isn't available
connected at application start. The splash-screen was blank until
the main UI was up.
"Ardour is ready for use" was the only visible message.
This commit is contained in:
Robin Gareus 2021-03-09 18:26:59 +01:00
parent 3b3d362d56
commit 1ef4fc1140
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -165,6 +165,7 @@ Splash::pop_front ()
show ();
#else
gdk_window_restack(get_window()->gobj(), NULL, true);
set_keep_above (true);
#endif
}
}
@ -259,7 +260,9 @@ Splash::display ()
present ();
if (!was_mapped) {
while (!expose_done && gtk_events_pending()) {
int timeout = 50;
darea.queue_draw ();
while (!expose_done && --timeout) {
gtk_main_iteration ();
}
gdk_display_flush (gdk_display_get_default());