summaryrefslogtreecommitdiffstats
path: root/layout-set.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-set.c
parent7f87280cd539c26a9b088cca2de895dd86b60449 (diff)
Add split-window -Z to start the pane zoomed, GitHub issue 2591.
Diffstat (limited to 'layout-set.c')
-rw-r--r--layout-set.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/layout-set.c b/layout-set.c
index 9ef28416..c702817d 100644
--- a/layout-set.c
+++ b/layout-set.c
@@ -160,7 +160,7 @@ layout_set_even(struct window *w, enum layout_type type)
/* Fix cell offsets. */
layout_fix_offsets(w);
- layout_fix_panes(w);
+ layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@@ -270,7 +270,7 @@ layout_set_main_h(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
- layout_fix_panes(w);
+ layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@@ -368,7 +368,7 @@ layout_set_main_v(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
- layout_fix_panes(w);
+ layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);
@@ -477,7 +477,7 @@ layout_set_tiled(struct window *w)
/* Fix cell offsets. */
layout_fix_offsets(w);
- layout_fix_panes(w);
+ layout_fix_panes(w, NULL);
layout_print_cell(w->layout_root, __func__, 1);