From e8c421e917ac59cdf50e5fd366155ea875e4a29e Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Sun, 21 Jan 2024 15:44:09 -0500 Subject: [PATCH] layer_shell: Fix typo of return instead of continue Otherwise we would skip arranging the rest of the surfaces if one of them isn't initialized. --- sway/desktop/layer_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/layer_shell.c b/sway/desktop/layer_shell.c index 968b0cdb..c71abce7 100644 --- a/sway/desktop/layer_shell.c +++ b/sway/desktop/layer_shell.c @@ -63,7 +63,7 @@ static void arrange_surface(struct sway_output *output, const struct wlr_box *fu } if (!surface->scene->layer_surface->initialized) { - return; + continue; } wlr_scene_layer_surface_v1_configure(surface->scene, full_area, usable_area);