view_impl: add for_each_surface()

This commit is contained in:
Johan Malm 2020-09-29 20:48:50 +01:00
parent 763f5c3455
commit 16c3869fca
5 changed files with 40 additions and 36 deletions

View file

@ -31,3 +31,11 @@ view_unminimize(struct view *view)
view->minimized = false;
view->impl->map(view);
}
void
view_for_each_surface(struct view *view, wlr_surface_iterator_func_t iterator,
void *user_data)
{
view->impl->for_each_surface(view, iterator, user_data);
}