mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Layout containers with fullscreen child correctly
When a container that includes a child that's fullscreen gets re-arranged also adjust the saved width/height of the fullscreen window so that on fullscreen exit the layout is correct. Fixes #3547
This commit is contained in:
parent
e1a6c5ee06
commit
89ce6a80f1
3 changed files with 29 additions and 8 deletions
|
|
@ -87,6 +87,7 @@ struct sway_container {
|
|||
double width, height;
|
||||
double saved_x, saved_y;
|
||||
double saved_width, saved_height;
|
||||
bool saved_dims;
|
||||
|
||||
// These are in layout coordinates.
|
||||
double content_x, content_y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue