diff options
author | nicm <nicm> | 2016-09-04 17:37:06 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-09-04 17:37:06 +0000 |
commit | fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59 (patch) | |
tree | 7ec149e5a721c1e0746a0c61b3bddb19d52b63c3 /cmd-join-pane.c | |
parent | 2627ab322e0e8dffbf86b1c2eb969139a8062174 (diff) | |
download | rtmux-fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59.tar.gz rtmux-fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59.tar.bz2 rtmux-fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59.zip |
Add support for performing a full width split (with splitw -f), rather
than splitting the current cell. From Stephen Kent.
Diffstat (limited to 'cmd-join-pane.c')
-rw-r--r-- | cmd-join-pane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-join-pane.c b/cmd-join-pane.c index aa8c25f1..263e7dfc 100644 --- a/cmd-join-pane.c +++ b/cmd-join-pane.c @@ -125,7 +125,7 @@ join_pane(struct cmd *self, struct cmd_q *cmdq, int not_same_window) else size = (dst_wp->sx * percentage) / 100; } - lc = layout_split_pane(dst_wp, type, size, args_has(args, 'b')); + lc = layout_split_pane(dst_wp, type, size, args_has(args, 'b'), 0); if (lc == NULL) { cmdq_error(cmdq, "create pane failed: pane too small"); return (CMD_RETURN_ERROR); |