diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-31 18:21:49 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | a2c1cb9072b990de9181bffeb69e43f9b3030804 (patch) | |
tree | 1588d8d58a84c04fbc02f0e5701394a6ebf47de2 /include/sway/tree | |
parent | Fix fullscreen position of xwayland views (diff) | |
download | sway-a2c1cb9072b990de9181bffeb69e43f9b3030804.tar.gz sway-a2c1cb9072b990de9181bffeb69e43f9b3030804.tar.zst sway-a2c1cb9072b990de9181bffeb69e43f9b3030804.zip |
Fix mpv damage issue when unfullscreening into floating
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 7362df5c..3df38e2d 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -51,6 +51,9 @@ struct sway_view { | |||
51 | double x, y; | 51 | double x, y; |
52 | int width, height; | 52 | int width, height; |
53 | 53 | ||
54 | double saved_x, saved_y; | ||
55 | int saved_width, saved_height; | ||
56 | |||
54 | // The size the view would want to be if it weren't tiled. | 57 | // The size the view would want to be if it weren't tiled. |
55 | // Used when changing a view from tiled to floating. | 58 | // Used when changing a view from tiled to floating. |
56 | int natural_width, natural_height; | 59 | int natural_width, natural_height; |