mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
don't set transient-for on OS X, where it is not necessary
This commit is contained in:
parent
bedc7b170e
commit
b08c71af02
1 changed files with 2 additions and 0 deletions
|
|
@ -124,6 +124,7 @@ Manager::set_session (ARDOUR::Session* s)
|
||||||
void
|
void
|
||||||
Manager::set_transient_for (Gtk::Window* parent)
|
Manager::set_transient_for (Gtk::Window* parent)
|
||||||
{
|
{
|
||||||
|
#ifndef __APPLE__
|
||||||
if (parent) {
|
if (parent) {
|
||||||
for (Windows::const_iterator i = _windows.begin(); i != _windows.end(); ++i) {
|
for (Windows::const_iterator i = _windows.begin(); i != _windows.end(); ++i) {
|
||||||
Gtk::Window* win = (*i)->get();
|
Gtk::Window* win = (*i)->get();
|
||||||
|
|
@ -142,6 +143,7 @@ Manager::set_transient_for (Gtk::Window* parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
current_transient_parent = parent;
|
current_transient_parent = parent;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------*/
|
/*-------------------------*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue