view/ssd: Move view->margin to view->ssd.margin

This commit is contained in:
John Lindgren 2022-11-21 15:13:43 -05:00 committed by Consolatis
parent e79c95489a
commit c536ee9d96
6 changed files with 26 additions and 26 deletions

View file

@ -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 *