mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view/ssd: Move view->margin to view->ssd.margin
This commit is contained in:
parent
e79c95489a
commit
c536ee9d96
6 changed files with 26 additions and 26 deletions
|
|
@ -276,8 +276,8 @@ position_xdg_toplevel_view(struct view *view)
|
|||
view->x = center_x - view->xdg_surface->current.geometry.width / 2;
|
||||
view->y = center_y - view->xdg_surface->current.geometry.height / 2;
|
||||
}
|
||||
view->x += view->margin.left;
|
||||
view->y += view->margin.top;
|
||||
view->x += view->ssd.margin.left;
|
||||
view->y += view->ssd.margin.top;
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue