convert Splash dialog into Gtk::WINDOW_POPUP in the hope that it will float above all, in all WM's

This commit is contained in:
Paul Davis 2015-09-04 09:54:58 -04:00
parent 3ff925fedb
commit a47b3c4dc5

View file

@ -45,6 +45,7 @@ using namespace ARDOUR;
Splash* Splash::the_splash = 0; Splash* Splash::the_splash = 0;
Splash::Splash () Splash::Splash ()
: Gtk::Window (Gtk::WINDOW_POPUP)
{ {
assert (the_splash == 0); assert (the_splash == 0);
@ -111,9 +112,9 @@ Splash::pop_back_for (Gtk::Window& win)
So for OS X, we just hide ourselves. So for OS X, we just hide ourselves.
Oct 2014: The Windows situation is similar, although it should be possible Oct 2014: The Windows situation is similar, although it should be possible
to play tricks with gdk's set_type_hint() or directly hack things using to play tricks with gdk's set_type_hint() or directly hack things using
SetWindowLong() and UpdateLayeredWindow() SetWindowLong() and UpdateLayeredWindow()
*/ */
(void) win; (void) win;
hide(); hide();