don't set transient-for on OS X, where it is not necessary

This commit is contained in:
Paul Davis 2013-05-07 22:30:01 -04:00
parent bedc7b170e
commit b08c71af02

View file

@ -124,6 +124,7 @@ Manager::set_session (ARDOUR::Session* s)
void
Manager::set_transient_for (Gtk::Window* parent)
{
#ifndef __APPLE__
if (parent) {
for (Windows::const_iterator i = _windows.begin(); i != _windows.end(); ++i) {
Gtk::Window* win = (*i)->get();
@ -142,6 +143,7 @@ Manager::set_transient_for (Gtk::Window* parent)
}
current_transient_parent = parent;
#endif
}
/*-------------------------*/