summaryrefslogtreecommitdiff
path: root/gtk2_ardour/window_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-05-07 18:09:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-05-07 18:09:12 -0400
commit87d502c15bf78f84a67566e0f2a8d51a820ad14a (patch)
treec84d92c2762e8c8517cc3f63cb5b47535c5653ea /gtk2_ardour/window_manager.cc
parenta902737db97e6bdd55493a1536242a26e26a0014 (diff)
work work on window mgmt: offer the change to mark all floating windows as Dialogs (in th theme manager), and mark ArdourWindow and ArdourDialog as transient-for on creation, based on current WindowManager (ardour-object) settings
Diffstat (limited to 'gtk2_ardour/window_manager.cc')
-rw-r--r--gtk2_ardour/window_manager.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/window_manager.cc b/gtk2_ardour/window_manager.cc
index 627e9a1744..1859eb85f1 100644
--- a/gtk2_ardour/window_manager.cc
+++ b/gtk2_ardour/window_manager.cc
@@ -43,6 +43,7 @@ WindowManager::instance ()
}
WindowManager::WindowManager ()
+ : current_transient_parent (0)
{
}
@@ -130,6 +131,8 @@ WindowManager::set_transient_for (Gtk::Window* parent)
}
}
}
+
+ current_transient_parent = parent;
}
/*-----------------------*/