mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Don't manipulate size/pos of fullscreen containers
In fullscreen mode position/dimensions of the fullscreen container were being changed and then restored on unfullscreen. This would break things that manipulated those dimensions while the window was fullscreen. Instead have the rendering code handle the positioning directly and leave the container information alone. Fixes #3547
This commit is contained in:
parent
a18d1c55ce
commit
3f1e0047f3
5 changed files with 26 additions and 46 deletions
|
|
@ -85,8 +85,6 @@ struct sway_container {
|
|||
// Includes borders
|
||||
double x, y;
|
||||
double width, height;
|
||||
double saved_x, saved_y;
|
||||
double saved_width, saved_height;
|
||||
|
||||
// These are in layout coordinates.
|
||||
double content_x, content_y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue