diff options
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r-- | sway/tree/workspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 66e1f7b9..f34baa9e 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include "sway/input/input-manager.h" | 9 | #include "sway/input/input-manager.h" |
10 | #include "sway/input/seat.h" | 10 | #include "sway/input/seat.h" |
11 | #include "sway/ipc-server.h" | 11 | #include "sway/ipc-server.h" |
12 | #include "sway/tree/arrange.h" | ||
12 | #include "sway/tree/container.h" | 13 | #include "sway/tree/container.h" |
13 | #include "sway/tree/workspace.h" | 14 | #include "sway/tree/workspace.h" |
14 | #include "log.h" | 15 | #include "log.h" |
@@ -392,7 +393,7 @@ bool workspace_switch(struct sway_container *workspace) { | |||
392 | } | 393 | } |
393 | seat_set_focus(seat, next); | 394 | seat_set_focus(seat, next); |
394 | struct sway_container *output = container_parent(workspace, C_OUTPUT); | 395 | struct sway_container *output = container_parent(workspace, C_OUTPUT); |
395 | arrange_windows(output, -1, -1); | 396 | arrange_output(output); |
396 | return true; | 397 | return true; |
397 | } | 398 | } |
398 | 399 | ||