diff options
author | 2019-11-28 09:45:15 +0000 | |
---|---|---|
committer | 2019-11-28 09:45:15 +0000 | |
commit | 4a8b0ea508ec8e7097113da4d3016e95759381f3 (patch) | |
tree | ee0ca6188d35c152446efbf4943c93b16eb957e8 /usr.bin/tmux/layout-custom.c | |
parent | Store xpixel/ypixel from TIOCGWINSZ and add formats. (diff) | |
download | wireguard-openbsd-4a8b0ea508ec8e7097113da4d3016e95759381f3.tar.xz wireguard-openbsd-4a8b0ea508ec8e7097113da4d3016e95759381f3.zip |
Make a best effort to set xpixel and ypixel for each pane and add
formats for them.
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 3eea858dc41..0949431059d 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.18 2019/10/19 12:40:42 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.19 2019/11/28 09:45:15 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -221,7 +221,7 @@ layout_parse(struct window *w, const char *layout) return (-1); /* Resize to the layout size. */ - window_resize(w, lc->sx, lc->sy); + window_resize(w, lc->sx, lc->sy, -1, -1); /* Destroy the old layout and swap to the new. */ layout_free_cell(w->layout_root); |