mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 04:45:58 +01:00
Use default window position for meterbridge
This commit is contained in:
parent
e8fe96a6c0
commit
efd7fa7f86
1 changed files with 5 additions and 4 deletions
|
|
@ -93,10 +93,11 @@ Meterbridge::Meterbridge ()
|
|||
|
||||
m_width = default_width;
|
||||
m_height = default_height;
|
||||
m_root_x = 1;
|
||||
m_root_y = 1;
|
||||
m_root_x = -1;
|
||||
m_root_y = -1;
|
||||
|
||||
update_title ();
|
||||
set_position (UIConfiguration::instance().get_default_window_position());
|
||||
|
||||
set_wmclass (X_("ardour_mixer"), PROGRAM_NAME);
|
||||
|
||||
|
|
@ -465,8 +466,8 @@ Meterbridge::set_state (const XMLNode& node)
|
|||
|
||||
m_width = default_width;
|
||||
m_height = default_height;
|
||||
m_root_x = 1;
|
||||
m_root_y = 1;
|
||||
m_root_x = -1;
|
||||
m_root_y = -1;
|
||||
|
||||
if ((geometry = find_named_node (node, "geometry")) != 0) {
|
||||
geometry->get_property ("x-size", m_width);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue