aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index e690c334..07ca3dff 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -449,13 +449,13 @@ void view_for_each_surface(struct sway_view *view,
}
}
-void view_for_each_popup(struct sway_view *view,
+void view_for_each_popup_surface(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data) {
if (!view->surface) {
return;
}
- if (view->impl->for_each_popup) {
- view->impl->for_each_popup(view, iterator, user_data);
+ if (view->impl->for_each_popup_surface) {
+ view->impl->for_each_popup_surface(view, iterator, user_data);
}
}