Make layout_fix_offsets take a window like layout_fix_panes.

This commit is contained in:
nicm
2019-07-15 18:25:07 +00:00
parent 91b6145499
commit 6ceeceab7a
4 changed files with 27 additions and 15 deletions

View File

@ -165,7 +165,7 @@ layout_parse(struct window *w, const char *layout)
layout_assign(&wp, lc);
/* Update pane offsets and sizes. */
layout_fix_offsets(lc);
layout_fix_offsets(w);
layout_fix_panes(w);
recalculate_sizes();