diff options
author | Drew DeVault <[email protected]> | 2016-07-18 09:12:48 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2016-07-18 09:12:48 -0400 |
commit | 5a1d95ac2ab39857c51a720624118e4fde292ab4 (patch) | |
tree | 90a3697d723c4659fddf3ca0d20ab14c89c2a705 /sway/layout.c | |
parent | c0e45222023e1a0ca0a37b73bb79931ac45f67aa (diff) |
Move backgrounds to back after arrange_windows
Fixes #769
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 5 |
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); + } } /** |