diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-22 14:29:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-22 14:30:11 +0200 |
commit | 1428d003dfd808e76a22e59feff7f47de6a8c117 (patch) | |
tree | 4834e1dc751ab8c13065fe9b1db4491275879e4b /gtk2_ardour/splash.cc | |
parent | 6f6c5b212cd6e8c0d38c9c1411518ee84290fbca (diff) |
hide splash screen on Windows
..until we get GDK window stack to play along.
Diffstat (limited to 'gtk2_ardour/splash.cc')
-rw-r--r-- | gtk2_ardour/splash.cc | 8 |
1 files 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 (); } |