From a66b0203316c1643c10e388af4bdb9b7ecf47ed2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 11 Dec 2012 01:21:17 +0000 Subject: [PATCH] redraw entire splash window if a new message is to be displayed but the window is not currently visible git-svn-id: svn://localhost/ardour2/branches/3.0@13636 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/splash.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc index 1a285fc55d..941350646d 100644 --- a/gtk2_ardour/splash.cc +++ b/gtk2_ardour/splash.cc @@ -198,11 +198,15 @@ Splash::message (const string& msg) layout->set_markup (str); Glib::RefPtr win = darea.get_window(); - + if (win) { expose_done = false; - win->invalidate_rect (Gdk::Rectangle (0, darea.get_height() - 30, darea.get_width(), 30), true); + if (win->is_visible ()) { + win->invalidate_rect (Gdk::Rectangle (0, darea.get_height() - 30, darea.get_width(), 30), true); + } else { + darea.queue_draw (); + } while (!expose_done) { gtk_main_iteration ();