13
0

Set default transient parent to the main window

This is mainly useful for plugin windows, but also relevant
for other Ardour WM managed dialogs and windows.
This commit is contained in:
Robin Gareus 2020-09-27 02:07:04 +02:00
parent 55df465fb3
commit f3fbf58185
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -505,6 +505,9 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], const char* localedir)
transport_masters_window.set_state (*ui_xml, 0);
}
/* set default parent for dialogs and windows */
WM::Manager::instance().set_transient_for (&_main_window);
/* Separate windows */
WM::Manager::instance().register_window (&key_editor);