13
0

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:
nick_m 2015-03-15 06:25:06 +11:00
parent 4e865a1c54
commit 8a37c1cd83
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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*/)