mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ ArdourDialog::ArdourDialog (string title, bool modal, bool use_seperator)
|
||||||
, _splash_pushed (false)
|
, _splash_pushed (false)
|
||||||
{
|
{
|
||||||
init ();
|
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)
|
ArdourDialog::ArdourDialog (Gtk::Window& parent, string title, bool modal, bool use_seperator)
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ ArdourWindow::ArdourWindow (string title)
|
||||||
{
|
{
|
||||||
set_title (title);
|
set_title (title);
|
||||||
init ();
|
init ();
|
||||||
set_position (Gtk::WIN_POS_MOUSE);
|
set_position (Gtk::WIN_POS_CENTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
ArdourWindow::ArdourWindow (Gtk::Window& parent, string /*title*/)
|
ArdourWindow::ArdourWindow (Gtk::Window& parent, string /*title*/)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue