diff options
author | 2015-04-21 22:38:49 +0000 | |
---|---|---|
committer | 2015-04-21 22:38:49 +0000 | |
commit | b3e07ccd185f54cfd1ab9fb3b6091702b5bad2e2 (patch) | |
tree | ca09d54ad0c9380b9669a5f2ff52abe98fd33ffd /usr.bin/tmux/layout-custom.c | |
parent | Do not die on USR1 if any of the socket parent directories are (diff) | |
download | wireguard-openbsd-b3e07ccd185f54cfd1ab9fb3b6091702b5bad2e2.tar.xz wireguard-openbsd-b3e07ccd185f54cfd1ab9fb3b6091702b5bad2e2.zip |
Always format real layout even when zoomed.
Diffstat (limited to 'usr.bin/tmux/layout-custom.c')
-rw-r--r-- | usr.bin/tmux/layout-custom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/layout-custom.c b/usr.bin/tmux/layout-custom.c index b911276b359..1180a3ac0a4 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.6 2013/03/25 11:35:30 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.7 2015/04/21 22:38:49 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicm@users.sourceforge.net> @@ -55,12 +55,12 @@ layout_checksum(const char *layout) /* Dump layout as a string. */ char * -layout_dump(struct window *w) +layout_dump(struct layout_cell *root) { char layout[BUFSIZ], *out; *layout = '\0'; - if (layout_append(w->layout_root, layout, sizeof layout) != 0) + if (layout_append(root, layout, sizeof layout) != 0) return (NULL); xasprintf(&out, "%04x,%s", layout_checksum(layout), layout); |