summaryrefslogtreecommitdiffstats
path: root/layout-custom.c
diff options
context:
space:
mode:
authornicm <nicm>2021-03-11 06:31:05 +0000
committernicm <nicm>2021-03-11 06:31:05 +0000
commitd98f9f7fe56beefeb294184ffaed24b7ea510a97 (patch)
tree46adbfe0fbc5e7f4a782792470c8d8e5465ee79c /layout-custom.c
parent7f87280cd539c26a9b088cca2de895dd86b60449 (diff)
Add split-window -Z to start the pane zoomed, GitHub issue 2591.
Diffstat (limited to 'layout-custom.c')
-rw-r--r--layout-custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout-custom.c b/layout-custom.c
index 097dabe6..e7fb4253 100644
--- a/layout-custom.c
+++ b/layout-custom.c
@@ -233,7 +233,7 @@ layout_parse(struct window *w, const char *layout)
/* Update pane offsets and sizes. */
layout_fix_offsets(w);
- layout_fix_panes(w);
+ layout_fix_panes(w, NULL);
recalculate_sizes();
layout_print_cell(lc, __func__, 0);