mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
Properly remember window position.
Querying the position of unmapped windows may or may not return a valid position. -- the configure handler is also called after hiding a window.
This commit is contained in:
parent
9144cbe93a
commit
ddd0e862ce
1 changed files with 3 additions and 0 deletions
|
|
@ -286,6 +286,9 @@ WindowProxy::configure_handler (GdkEventConfigure* ev)
|
|||
|
||||
the difference is generally down to window manager framing.
|
||||
*/
|
||||
if (!visible() || !_window->is_mapped()) {
|
||||
return false;
|
||||
}
|
||||
save_pos_and_size ();
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue