From 1c3cfd3bac4d408b3f27cde0d4dca2ce2f77834f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 8 Jan 2021 10:53:36 +0100 Subject: Rename output_layer_for_each_surface_{toplevel,popup} Swap the "surface" part for consistency with wlroots' naming. --- sway/desktop/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sway/desktop/output.c') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 7921d597..5edc8f96 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -243,7 +243,7 @@ void output_layer_for_each_surface(struct sway_output *output, } } -void output_layer_for_each_surface_toplevel(struct sway_output *output, +void output_layer_for_each_toplevel_surface(struct sway_output *output, struct wl_list *layer_surfaces, sway_surface_iterator_func_t iterator, void *user_data) { struct sway_layer_surface *layer_surface; @@ -257,7 +257,7 @@ void output_layer_for_each_surface_toplevel(struct sway_output *output, } -void output_layer_for_each_surface_popup(struct sway_output *output, +void output_layer_for_each_popup_surface(struct sway_output *output, struct wl_list *layer_surfaces, sway_surface_iterator_func_t iterator, void *user_data) { struct sway_layer_surface *layer_surface; -- cgit v1.2.3