view: add function to damage whole view

This commit is contained in:
Jente Hidskes 2019-02-13 18:50:08 +01:00
parent adea7b6728
commit 8b0f027b46
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
4 changed files with 20 additions and 0 deletions

1
view.h
View file

@ -70,6 +70,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_damage_surface(struct cg_view *view);
void view_damage_whole(struct cg_view *view);
void view_activate(struct cg_view *view, bool activate);
void view_position(struct cg_view *view);
void view_for_each_surface(struct cg_view *view, wlr_surface_iterator_func_t iterator, void *data);