view: position using the output's usable area

This commit is contained in:
Jente Hidskes 2021-12-23 16:55:18 +01:00
parent dc090aa517
commit fc5cc401b7
3 changed files with 12 additions and 12 deletions

2
view.h
View file

@ -48,7 +48,7 @@ char *view_get_title(struct cg_view *view);
bool view_is_primary(struct cg_view *view);
bool view_is_transient_for(struct cg_view *child, struct cg_view *parent);
void view_activate(struct cg_view *view, bool activate);
void view_position(struct cg_view *view);
void view_position(struct cg_view *view, struct wlr_box *geometry);
void view_unmap(struct cg_view *view);
void view_map(struct cg_view *view, struct wlr_surface *surface);
void view_destroy(struct cg_view *view);