output: handle size changes

Fixes #23.
This commit is contained in:
Jente Hidskes 2019-01-10 15:50:31 +01:00
parent 21c01c9ee0
commit a4a3a4954a
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
4 changed files with 26 additions and 5 deletions

1
view.h
View file

@ -58,6 +58,7 @@ void view_for_each_surface(struct cg_view *view, wlr_surface_iterator_func_t ite
struct wlr_surface *view_wlr_surface_at(struct cg_view *view, double sx, double sy,
double *sub_x, double *sub_y);
bool view_is_primary(struct cg_view *view);
void view_position(struct cg_view *view);
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);