tweak to make it more likely (hopefully 100% certain) that the splash window is fully...
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 5 Dec 2012 23:58:27 +0000 (23:58 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 5 Dec 2012 23:58:27 +0000 (23:58 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13605 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/splash.cc

index 9f558be233d7fb800b361fc9b776b40097c86336..1a285fc55df0374d1adc00e65bc0d37945ece53a 100644 (file)
@@ -147,8 +147,12 @@ Splash::expose (GdkEventExpose* ev)
        Glib::RefPtr<Gdk::GC> white = style->get_white_gc();
 
        window->draw_layout (white, 10, pixbuf->get_height() - 30, layout);
+
+       /* this must execute AFTER the GDK idle update mechanism 
+        */
        
-       Glib::signal_idle().connect (sigc::mem_fun (this, &Splash::idle_after_expose));
+       Glib::signal_idle().connect (sigc::mem_fun (this, &Splash::idle_after_expose),
+                                    GDK_PRIORITY_REDRAW+2);
 
        return true;
 }
@@ -197,7 +201,7 @@ Splash::message (const string& msg)
 
        if (win) {
                 expose_done = false;
-                
+
                win->invalidate_rect (Gdk::Rectangle (0, darea.get_height() - 30, darea.get_width(), 30), true);
 
                 while (!expose_done) {