Non-transient ArdourDialogs and ArdourWindows appear in the centre
of the screen initially (first use in a new session) rather than at the mouse position.
This commit is contained in:
parent
4e865a1c54
commit
8a37c1cd83
@ -40,7 +40,7 @@ ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
|
||||
, _splash_pushed (false)
|
||||
{
|
||||
init ();
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
set_position (Gtk::WIN_POS_CENTER);
|
||||
}
|
||||
|
||||
ArdourDialog::ArdourDialog (Gtk::Window& parent, string title, bool modal, bool use_seperator)
|
||||
|
@ -38,7 +38,7 @@ ArdourWindow::ArdourWindow (string title)
|
||||
{
|
||||
set_title (title);
|
||||
init ();
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
set_position (Gtk::WIN_POS_CENTER);
|
||||
}
|
||||
|
||||
ArdourWindow::ArdourWindow (Gtk::Window& parent, string /*title*/)
|
||||
|
Loading…
Reference in New Issue
Block a user