mirror of
https://github.com/labwc/labwc.git
synced 2025-11-07 13:30:06 -05:00
view: Use wlr_box for current/pending geometry
This commit is contained in:
parent
3941991505
commit
b75dbd5b38
15 changed files with 169 additions and 186 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue