diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-05-31 15:56:13 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-05-31 15:56:13 +0100 |
commit | f17ecaa49544509e93716a84b6510990ed90ceca (patch) | |
tree | 6b89857ce59fc9330c136961defdcc0923cbff40 /cmd-split-window.c | |
parent | 9c4d0d454aa81b9587ed724e0f87395b1791ce2f (diff) | |
parent | d60663ea8664d1c71def883bd64d97af3f791f89 (diff) | |
download | rtmux-f17ecaa49544509e93716a84b6510990ed90ceca.tar.gz rtmux-f17ecaa49544509e93716a84b6510990ed90ceca.tar.bz2 rtmux-f17ecaa49544509e93716a84b6510990ed90ceca.zip |
Merge branch 'obsd-master'
Conflicts:
Makefile.am
cfg.c
server-client.c
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index dcc4d713..35993bfc 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -133,7 +133,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item) goto error; } new_wp = window_add_pane(w, wp, args_has(args, 'b'), hlimit); - layout_assign_pane(lc, new_wp); + layout_make_leaf(lc, new_wp); path = NULL; if (item->client != NULL && item->client->session == NULL) @@ -151,6 +151,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item) } environ_free(env); + layout_fix_panes(w, w->sx, w->sy); server_redraw_window(w); if (!args_has(args, 'd')) { |