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
@ -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…
Reference in New Issue
Block a user