From 1428d003dfd808e76a22e59feff7f47de6a8c117 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 22 Oct 2014 14:29:33 +0200 Subject: [PATCH] hide splash screen on Windows ..until we get GDK window stack to play along. --- 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 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 (); }