mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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:
parent
55df465fb3
commit
f3fbf58185
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue