ssd: refactor and position title nearer left hand edge

Put title deco at the end of linked list to render it on top of corner
edges.
This commit is contained in:
Johan Malm 2021-08-22 14:06:11 +01:00
parent ec5603dbd0
commit 5f01c49b72
4 changed files with 57 additions and 41 deletions

View file

@ -54,7 +54,7 @@ struct view;
struct border ssd_thickness(struct view *view);
struct wlr_box ssd_max_extents(struct view *view);
struct wlr_box ssd_box(struct view *view, enum ssd_part_type type);
struct wlr_box ssd_visible_box(struct view *view, enum ssd_part_type type);
enum ssd_part_type ssd_at(struct view *view, double lx, double ly);
uint32_t ssd_resize_edges(enum ssd_part_type type);
void ssd_update_title(struct view *view);