diff options
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index f7134917..5e6ea799 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -247,6 +247,7 @@ bool workspace_switch(swayc_t *workspace) { | |||
247 | if (!set_focused_container(get_focused_view(workspace))) { | 247 | if (!set_focused_container(get_focused_view(workspace))) { |
248 | return false; | 248 | return false; |
249 | } | 249 | } |
250 | arrange_windows(workspace, -1, -1); | 250 | swayc_t *output = swayc_parent_by_type(workspace, C_OUTPUT); |
251 | arrange_windows(output, -1, -1); | ||
251 | return true; | 252 | return true; |
252 | } | 253 | } |