From fed1e384ad7eb88cc6203e49d4efa8e5ed4edb59 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 4 Sep 2016 17:37:06 +0000 Subject: Add support for performing a full width split (with splitw -f), rather than splitting the current cell. From Stephen Kent. --- cmd-join-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-join-pane.c') 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); -- cgit