summaryrefslogtreecommitdiffstats
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-03-16 20:01:24 +0000
committerThomas Adam <thomas@xteddy.org>2020-03-16 20:01:24 +0000
commit71eb965dd9ef1e511dfb6d2b24196cca550e1284 (patch)
treec94e967c51834a990d6f4488f35096810df38fbb /cmd-split-window.c
parentc18a46cf56936a4f0b36d1e8796d85a0c59da1cc (diff)
parentfb396286ff8330f35eae54f47b7f233839a23e6f (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r--cmd-split-window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c
index eaf1f74c..a5fa3acc 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -153,7 +153,6 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
sc.flags |= SPAWN_DETACHED;
if ((new_wp = spawn_pane(&sc, &cause)) == NULL) {
- layout_close_pane(new_wp);
cmdq_error(item, "create pane failed: %s", cause);
free(cause);
return (CMD_RETURN_ERROR);