diff options
author | nicm <nicm> | 2019-07-15 18:25:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-07-15 18:25:07 +0000 |
commit | 6ceeceab7adfb7b6a779df52f811f010aae0721c (patch) | |
tree | 3681c9ad550c4d92b9be2a0b31dd9367af76bc4f /layout-set.c | |
parent | 91b6145499c3aa5591fd2d7ed20bd69b15c80d34 (diff) | |
download | rtmux-6ceeceab7adfb7b6a779df52f811f010aae0721c.tar.gz rtmux-6ceeceab7adfb7b6a779df52f811f010aae0721c.tar.bz2 rtmux-6ceeceab7adfb7b6a779df52f811f010aae0721c.zip |
Make layout_fix_offsets take a window like layout_fix_panes.
Diffstat (limited to 'layout-set.c')
-rw-r--r-- | layout-set.c | 8 |
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); |