view: Use wlr_box for current/pending geometry

This commit is contained in:
John Lindgren 2023-02-08 23:19:14 -05:00
parent 3941991505
commit b75dbd5b38
15 changed files with 169 additions and 186 deletions

View file

@ -113,8 +113,8 @@ ssd_extents_update(struct ssd *ssd)
struct theme *theme = view->server->theme;
int width = view->w;
int height = view->h;
int width = view->current.width;
int height = view->current.height;
int full_height = height + theme->border_width * 2 + theme->title_height;
int full_width = width + 2 * theme->border_width;
int extended_area = SSD_EXTENDED_AREA;