mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-16 18:36:03 +01:00
splash override env var patch from nedko
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5709 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b6f75104e3
commit
e39da411ce
1 changed files with 14 additions and 2 deletions
|
|
@ -66,8 +66,20 @@ void
|
|||
Splash::on_realize ()
|
||||
{
|
||||
Window::on_realize ();
|
||||
get_window()->set_decorations (Gdk::WMDecoration (0));
|
||||
/* get_window()->set_override_redirect(true);*/
|
||||
|
||||
// Without override redirect, splash screen has redraw problems with ion3.
|
||||
// With override redirect, it is not properly on top with some other
|
||||
// popular (metacity for example) window managers.
|
||||
// Maybe setting override redirect and something else (like the splash wm hint)
|
||||
// will make the splash to work for everybody
|
||||
// Override redirect only does not work on OS X too.
|
||||
// Until we find solution that works for everybody this env var kludge is used
|
||||
if (getenv ("ARDOUR_USE_OVERRIDE_REDIRECT_SPLASH") != 0) {
|
||||
get_window()->set_override_redirect (true);
|
||||
} else {
|
||||
get_window()->set_decorations (Gdk::WMDecoration (0));
|
||||
}
|
||||
|
||||
layout->set_font_description (get_style()->get_font());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue