diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2024-01-21 15:44:09 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-01-21 22:01:35 +0100 |
commit | e8c421e917ac59cdf50e5fd366155ea875e4a29e (patch) | |
tree | 6f96a125dca967a78a0b0d69d6fff172bd809f48 | |
parent | 2c2625acd3a89ef2c4caa4094a3a51001041a524 (diff) |
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.c | 2 |
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 } if (!surface->scene->layer_surface->initialized) { - return; + continue; } wlr_scene_layer_surface_v1_configure(surface->scene, full_area, usable_area); |