aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/split.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-27 18:06:50 -0500
committerLibravatar GitHub <noreply@github.com>2019-01-27 18:06:50 -0500
commit783fadab284c79c8e13625e5e2a2eefae02c75d3 (patch)
tree795c5c69a7fcfc9336115ac157a41b943190f206 /sway/commands/split.c
parentMerge pull request #3519 from emersion/pointer-frame (diff)
parentImplement fullscreen global (diff)
downloadsway-783fadab284c79c8e13625e5e2a2eefae02c75d3.tar.gz
sway-783fadab284c79c8e13625e5e2a2eefae02c75d3.tar.zst
sway-783fadab284c79c8e13625e5e2a2eefae02c75d3.zip
Merge pull request #3423 from RyanDwyer/fullscreen-global
Implement fullscreen global
Diffstat (limited to 'sway/commands/split.c')
-rw-r--r--sway/commands/split.c6
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}