From bd43428a65c7b020b0dd1ff372aeb883014ed0f6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 May 2016 22:39:37 -0400 Subject: add route dialog should always show up wherever the mouse is, not in its last location --- gtk2_ardour/ardour_ui.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk2_ardour/ardour_ui.cc') diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 07a4e5a5b8..c728ad9b6b 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -473,6 +473,9 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], const char* localedir) WM::Manager::instance().register_window (&audio_port_matrix); WM::Manager::instance().register_window (&midi_port_matrix); + /* do not retain position for add route dialog */ + add_route_dialog.set_state_mask (WindowProxy::Size); + /* Trigger setting up the color scheme and loading the GTK RC file */ UIConfiguration::instance().load_rc_file (false); -- cgit v1.2.3