From 1ef4fc1140901729ad1ab4175402a615d162c6d2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 9 Mar 2021 18:26:59 +0100 Subject: [PATCH] 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. --- gtk2_ardour/splash.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc index 70a855ded4..8b1884a5d1 100644 --- a/gtk2_ardour/splash.cc +++ b/gtk2_ardour/splash.cc @@ -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());