view: add function to damage whole view

This commit is contained in:
Jente Hidskes 2019-02-13 18:50:08 +01:00
parent aa4b27ec20
commit 1308c0ffc3
4 changed files with 20 additions and 0 deletions

6
view.c
View file

@ -139,6 +139,12 @@ view_damage_surface(struct cg_view *view)
output_damage_view_surface(view->server->output, view);
}
void
view_damage_whole(struct cg_view *view)
{
output_damage_view_whole(view->server->output, view);
}
void
view_activate(struct cg_view *view, bool activate)
{