aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 3d746ebe..2e0bf0bb 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -959,6 +959,11 @@ void arrange_windows(swayc_t *container, double width, double height) {
update_visibility(container);
arrange_windows_r(container, width, height);
layout_log(&root_container, 0);
+
+ for (int i = 0; i < desktop_shell.backgrounds->length; ++i) {
+ struct background_config *bg = desktop_shell.backgrounds->items[i];
+ wlc_view_send_to_back(bg->handle);
+ }
}
/**