mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Fix mpv damage issue when unfullscreening into floating
This commit is contained in:
parent
c9e3a313b4
commit
a2c1cb9072
2 changed files with 12 additions and 4 deletions
|
|
@ -51,6 +51,9 @@ struct sway_view {
|
|||
double x, y;
|
||||
int width, height;
|
||||
|
||||
double saved_x, saved_y;
|
||||
int saved_width, saved_height;
|
||||
|
||||
// The size the view would want to be if it weren't tiled.
|
||||
// Used when changing a view from tiled to floating.
|
||||
int natural_width, natural_height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue