Create a linked list of SSD for each view

This commit is contained in:
Johan Malm 2021-03-21 21:46:16 +00:00
parent f863e1916d
commit 2a48f2801b
8 changed files with 134 additions and 47 deletions

View file

@ -77,7 +77,7 @@ view_maximize(struct view *view, bool maximize)
.width = output->width,
.height = output->height,
};
if (view->server_side_deco) {
if (view->ssd.enabled) {
struct border border = ssd_thickness(view);
box.x += border.left;
box.y += border.top;