Merge pull request #3260 from RedSoxFan/split-flatten

cmd_split: flatten when possible
master
Ryan Dwyer 6 years ago committed by GitHub
commit 0c3f0dfd16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,6 +18,10 @@ static struct cmd_results *do_split(int layout) {
workspace_split(ws, layout);
}
if (con->parent->parent) {
container_flatten(con->parent->parent);
}
arrange_workspace(ws);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);

Loading…
Cancel
Save