aboutsummaryrefslogtreecommitdiff
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-03-03 09:19:40 +0000
committerTiago Cunha <tcunha@gmx.com>2012-03-03 09:19:40 +0000
commite4f1fbd0085f30be0945ff3c8220184b0b473906 (patch)
tree204603b6b0c3ac845fe456260c1fa64d973eeae4 /cmd-split-window.c
parent89ab14709346ebcb49d43172ff55b15a6512e08f (diff)
downloadrtmux-e4f1fbd0085f30be0945ff3c8220184b0b473906.tar.gz
rtmux-e4f1fbd0085f30be0945ff3c8220184b0b473906.tar.bz2
rtmux-e4f1fbd0085f30be0945ff3c8220184b0b473906.zip
Sync OpenBSD patchset 1035:
Add move-pane command (like join-pane but allows the same window). Also -b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman.
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r--cmd-split-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c
index 7bbef7b6..1bf54e5f 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -112,7 +112,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
if (*shell == '\0' || areshell(shell))
shell = _PATH_BSHELL;
- if ((lc = layout_split_pane(wp, type, size)) == NULL) {
+ if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) {
cause = xstrdup("pane too small");
goto error;
}