Wayland: Fix remembering window size not accurate when client side decorations are present

This commit is contained in:
Kovid Goyal
2022-09-04 14:25:04 +05:30
parent 31fe35cd38
commit b60d9f73ce
5 changed files with 25 additions and 5 deletions

View File

@@ -188,7 +188,7 @@ typedef struct {
int x, y, w, h;
bool is_set, was_maximized;
} before_fullscreen;
int viewport_width, viewport_height, window_width, window_height;
int viewport_width, viewport_height, window_width, window_height, content_area_width, content_area_height;
double viewport_x_ratio, viewport_y_ratio;
Tab *tabs;
BackgroundImage *bgimage;