summaryrefslogtreecommitdiff
path: root/gtk2_ardour/window_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-05-07 22:30:01 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-05-07 22:30:01 -0400
commitb08c71af0295fbfc800081af08b9bad80ce20292 (patch)
tree04cc6f4ea38264f07e6efa9690f946efa089badc /gtk2_ardour/window_manager.cc
parentbedc7b170eb72f1b9aaaf3872c7160aa1661a4e1 (diff)
don't set transient-for on OS X, where it is not necessary
Diffstat (limited to 'gtk2_ardour/window_manager.cc')
-rw-r--r--gtk2_ardour/window_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/window_manager.cc b/gtk2_ardour/window_manager.cc
index 90345acff0..4a3d5f6ce4 100644
--- a/gtk2_ardour/window_manager.cc
+++ b/gtk2_ardour/window_manager.cc
@@ -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
}
/*-------------------------*/