aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <alex@ozal.ski>2024-01-21 15:44:09 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2024-01-21 22:01:35 +0100
commite8c421e917ac59cdf50e5fd366155ea875e4a29e (patch)
tree6f96a125dca967a78a0b0d69d6fff172bd809f48
parentFix SIGSEGV on output destroy (diff)
downloadsway-e8c421e917ac59cdf50e5fd366155ea875e4a29e.tar.gz
sway-e8c421e917ac59cdf50e5fd366155ea875e4a29e.tar.zst
sway-e8c421e917ac59cdf50e5fd366155ea875e4a29e.zip
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.
-rw-r--r--sway/desktop/layer_shell.c2
1 files changed, 1 insertions, 1 deletions
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
63 } 63 }
64 64
65 if (!surface->scene->layer_surface->initialized) { 65 if (!surface->scene->layer_surface->initialized) {
66 return; 66 continue;
67 } 67 }
68 68
69 wlr_scene_layer_surface_v1_configure(surface->scene, full_area, usable_area); 69 wlr_scene_layer_surface_v1_configure(surface->scene, full_area, usable_area);