summaryrefslogtreecommitdiffstats
path: root/layout-custom.c
diff options
context:
space:
mode:
authornicm <nicm>2019-07-15 18:25:07 +0000
committernicm <nicm>2019-07-15 18:25:07 +0000
commit6ceeceab7adfb7b6a779df52f811f010aae0721c (patch)
tree3681c9ad550c4d92b9be2a0b31dd9367af76bc4f /layout-custom.c
parent91b6145499c3aa5591fd2d7ed20bd69b15c80d34 (diff)
Make layout_fix_offsets take a window like layout_fix_panes.
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 bedcaf10..d759c206 100644
--- a/layout-custom.c
+++ b/layout-custom.c
@@ -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();