From a2c1cb9072b990de9181bffeb69e43f9b3030804 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 31 May 2018 18:21:49 +1000 Subject: Fix mpv damage issue when unfullscreening into floating --- include/sway/tree/view.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 { 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; -- cgit v1.2.3-54-g00ecf