summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <ddevault@linode.com>2016-07-18 09:12:48 -0400
committerLibravatar Drew DeVault <ddevault@linode.com>2016-07-18 09:12:48 -0400
commit5a1d95ac2ab39857c51a720624118e4fde292ab4 (patch)
tree90a3697d723c4659fddf3ca0d20ab14c89c2a705 /sway/layout.c
parentMerge pull request #764 from deklov/move-position-bug-02 (diff)
downloadsway-5a1d95ac2ab39857c51a720624118e4fde292ab4.tar.gz
sway-5a1d95ac2ab39857c51a720624118e4fde292ab4.tar.zst
sway-5a1d95ac2ab39857c51a720624118e4fde292ab4.zip
Move backgrounds to back after arrange_windows
Fixes #769
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) {
959 update_visibility(container); 959 update_visibility(container);
960 arrange_windows_r(container, width, height); 960 arrange_windows_r(container, width, height);
961 layout_log(&root_container, 0); 961 layout_log(&root_container, 0);
962
963 for (int i = 0; i < desktop_shell.backgrounds->length; ++i) {
964 struct background_config *bg = desktop_shell.backgrounds->items[i];
965 wlc_view_send_to_back(bg->handle);
966 }
962} 967}
963 968
964/** 969/**