summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 8f54cc11..c1207821 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -332,6 +332,16 @@ void view_for_each_surface(struct sway_view *view,
332 } 332 }
333} 333}
334 334
335void view_for_each_popup(struct sway_view *view,
336 wlr_surface_iterator_func_t iterator, void *user_data) {
337 if (!view->surface) {
338 return;
339 }
340 if (view->impl->for_each_popup) {
341 view->impl->for_each_popup(view, iterator, user_data);
342 }
343}
344
335static void view_subsurface_create(struct sway_view *view, 345static void view_subsurface_create(struct sway_view *view,
336 struct wlr_subsurface *subsurface); 346 struct wlr_subsurface *subsurface);
337 347