aboutsummaryrefslogtreecommitdiff
path: root/layout-set.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-07-15 21:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-07-15 21:02:26 +0100
commita786a5917651397455110e5bf3b339b6ba1b5d4d (patch)
tree15a2b3dd830d8735189cd5ac3499dd8f51302a86 /layout-set.c
parentc9216493cfa3b62b6edc9dae11892a071e56fa5c (diff)
parenteac055bfaf1b21b71d5fc79bc29a2810aa20085f (diff)
downloadrtmux-a786a5917651397455110e5bf3b339b6ba1b5d4d.tar.gz
rtmux-a786a5917651397455110e5bf3b339b6ba1b5d4d.tar.bz2
rtmux-a786a5917651397455110e5bf3b339b6ba1b5d4d.zip
Merge branch 'obsd-master'
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 12b4780f..82247149 100644
--- a/layout-set.c
+++ b/layout-set.c
@@ -158,7 +158,7 @@ layout_set_even(struct window *w, enum layout_type type)
layout_spread_cell(w, lc);
/* Fix cell offsets. */
- layout_fix_offsets(lc);
+ layout_fix_offsets(w);
layout_fix_panes(w);
layout_print_cell(w->layout_root, __func__, 1);
@@ -257,7 +257,7 @@ layout_set_main_h(struct window *w)
}
/* Fix cell offsets. */
- layout_fix_offsets(lc);
+ layout_fix_offsets(w);
layout_fix_panes(w);
layout_print_cell(w->layout_root, __func__, 1);
@@ -344,7 +344,7 @@ layout_set_main_v(struct window *w)
}
/* Fix cell offsets. */
- layout_fix_offsets(lc);
+ layout_fix_offsets(w);
layout_fix_panes(w);
layout_print_cell(w->layout_root, __func__, 1);
@@ -453,7 +453,7 @@ layout_set_tiled(struct window *w)
}
/* Fix cell offsets. */
- layout_fix_offsets(lc);
+ layout_fix_offsets(w);
layout_fix_panes(w);
layout_print_cell(w->layout_root, __func__, 1);