aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-pane.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-resize-pane.c')
-rw-r--r--cmd-resize-pane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c
index 1380b283..cabf1da4 100644
--- a/cmd-resize-pane.c
+++ b/cmd-resize-pane.c
@@ -103,6 +103,7 @@ cmd_resize_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
}
}
+ layout_list_add(wp->window);
if (args_has(self->args, 'L'))
layout_resize_pane(wp, LAYOUT_LEFTRIGHT, -adjust);
else if (args_has(self->args, 'R'))