From b08c71af0295fbfc800081af08b9bad80ce20292 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 May 2013 22:30:01 -0400 Subject: don't set transient-for on OS X, where it is not necessary --- gtk2_ardour/window_manager.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/window_manager.cc') 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 } /*-------------------------*/ -- cgit v1.2.3