diff options
Diffstat (limited to 'sway/commands/split.c')
-rw-r--r-- | sway/commands/split.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/commands/split.c b/sway/commands/split.c index 06b7df5e..b7ab7b79 100644 --- a/sway/commands/split.c +++ b/sway/commands/split.c | |||
@@ -26,7 +26,11 @@ static struct cmd_results *do_split(int layout) { | |||
26 | container_flatten(con->parent->parent); | 26 | container_flatten(con->parent->parent); |
27 | } | 27 | } |
28 | 28 | ||
29 | arrange_workspace(ws); | 29 | if (root->fullscreen_global) { |
30 | arrange_root(); | ||
31 | } else { | ||
32 | arrange_workspace(ws); | ||
33 | } | ||
30 | 34 | ||
31 | return cmd_results_new(CMD_SUCCESS, NULL); | 35 | return cmd_results_new(CMD_SUCCESS, NULL); |
32 | } | 36 | } |