diff options
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index 7d61c3be..32f8fb52 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c | |||
@@ -147,7 +147,11 @@ struct cmd_results *cmd_layout(int argc, char **argv) { | |||
147 | workspace->layout = new_layout; | 147 | workspace->layout = new_layout; |
148 | workspace_update_representation(workspace); | 148 | workspace_update_representation(workspace); |
149 | } | 149 | } |
150 | arrange_workspace(workspace); | 150 | if (root->fullscreen_global) { |
151 | arrange_root(); | ||
152 | } else { | ||
153 | arrange_workspace(workspace); | ||
154 | } | ||
151 | } | 155 | } |
152 | 156 | ||
153 | return cmd_results_new(CMD_SUCCESS, NULL); | 157 | return cmd_results_new(CMD_SUCCESS, NULL); |