diff options
author | Ryan Dwyer <[email protected]> | 2019-01-25 08:29:21 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2019-01-25 08:29:21 +1000 |
commit | 20aa8ee67dc528299dbc8735220a1c081c7ff9f6 (patch) | |
tree | 685de48be3db51fc01510ccf051e2b63a4655fba /sway/commands/split.c | |
parent | 75406bb93b96091d30e52922d0f319530fe65471 (diff) |
Implement fullscreen global
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) { container_flatten(con->parent->parent); } - arrange_workspace(ws); + if (root->fullscreen_global) { + arrange_root(); + } else { + arrange_workspace(ws); + } return cmd_results_new(CMD_SUCCESS, NULL); } |