aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/split.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-01-25 08:29:21 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2019-01-25 08:29:21 +1000
commit20aa8ee67dc528299dbc8735220a1c081c7ff9f6 (patch)
tree685de48be3db51fc01510ccf051e2b63a4655fba /sway/commands/split.c
parentUpdate for swaywm/wlroots#1402 (diff)
downloadsway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.gz
sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.tar.zst
sway-20aa8ee67dc528299dbc8735220a1c081c7ff9f6.zip
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}