diff options
-rw-r--r-- | sway/workspace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index 5319aec4..3ac6626c 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <strings.h> | 7 | #include <strings.h> |
8 | #include <sys/types.h> | 8 | #include <sys/types.h> |
9 | #include "ipc-server.h" | 9 | #include "ipc-server.h" |
10 | #include "extensions.h" | ||
10 | #include "workspace.h" | 11 | #include "workspace.h" |
11 | #include "layout.h" | 12 | #include "layout.h" |
12 | #include "list.h" | 13 | #include "list.h" |
@@ -308,6 +309,10 @@ bool workspace_switch(swayc_t *workspace) { | |||
308 | } | 309 | } |
309 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); | 310 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); |
310 | arrange_windows(output, -1, -1); | 311 | arrange_windows(output, -1, -1); |
312 | for (int i = 0; i < desktop_shell.backgrounds->length; ++i) { | ||
313 | struct background_config *bg = desktop_shell.backgrounds->items[i]; | ||
314 | wlc_view_send_to_back(bg->handle); | ||
315 | } | ||
311 | return true; | 316 | return true; |
312 | } | 317 | } |
313 | 318 | ||