diff options
author | 2019-07-15 18:25:07 +0000 | |
---|---|---|
committer | 2019-07-15 18:25:07 +0000 | |
commit | 42fbd26a50be5ad88d455eb92afd05b75399b917 (patch) | |
tree | 7064390f3db54d15b3cbbbe07b6909d743c6128e /usr.bin/tmux/layout-custom.c | |
parent | Explain in which circumstances trailing slashes can be omitted after (diff) | |
download | wireguard-openbsd-42fbd26a50be5ad88d455eb92afd05b75399b917.tar.xz wireguard-openbsd-42fbd26a50be5ad88d455eb92afd05b75399b917.zip |
Make layout_fix_offsets take a window like layout_fix_panes.
Diffstat (limited to 'usr.bin/tmux/layout-custom.c')
-rw-r--r-- | usr.bin/tmux/layout-custom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/layout-custom.c b/usr.bin/tmux/layout-custom.c index 4505f050248..4d6bd34c23d 100644 --- a/usr.bin/tmux/layout-custom.c +++ b/usr.bin/tmux/layout-custom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout-custom.c,v 1.14 2019/06/15 06:33:48 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.15 2019/07/15 18:25:07 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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(); |