X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsplash.cc;h=da22016f07dd1d2c08b11059c5fcc1d963e74da5;hb=5fef65538040fbac1b9edd1847a269aa925a49c9;hp=be34f2dbbd59e10564e1202cd19619dd7534b730;hpb=23e7cf10191270d70357ccf0ed9294f020c7b7ab;p=ardour.git diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc index be34f2dbbd..da22016f07 100644 --- a/gtk2_ardour/splash.cc +++ b/gtk2_ardour/splash.cc @@ -100,7 +100,7 @@ Splash::~Splash () void Splash::pop_back_for (Gtk::Window& win) { -#ifdef __APPLE__ +#if defined __APPLE__ || defined PLATFORM_WINDOWS /* April 2013: window layering on OS X is a bit different to X Window. at present, the "restack()" functionality in GDK will only operate on windows in the same "level" (e.g. two normal top level windows, or two utility windows) and will not @@ -108,6 +108,10 @@ Splash::pop_back_for (Gtk::Window& win) is not going to work. So for OS X, we just hide ourselves. + + 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 + SetWindowLong() and UpdateLayeredWindow() */ (void) win; hide(); @@ -121,7 +125,7 @@ void Splash::pop_front () { -#ifdef __APPLE__ +#if defined __APPLE__ || defined PLATFORM_WINDOWS if (get_window()) { show (); }