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

@ -15,8 +15,8 @@ ssd_border_create(struct ssd *ssd)
{
struct view *view = ssd->view;
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_width = width + 2 * theme->border_width;
float *color;
@ -54,8 +54,8 @@ ssd_border_update(struct ssd *ssd)
struct view *view = ssd->view;
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_width = width + 2 * theme->border_width;
struct ssd_part *part;