diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-06-12 11:02:25 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-06-12 11:02:25 +0100 |
commit | d5902eeae9da610b2652ffda9a66e560d179f1b8 (patch) | |
tree | 95e7fe9438d833f347efea814782f6feeb6d7697 /layout-custom.c | |
parent | 057c04e32a54018f5da1c93efc107f7e05db597e (diff) | |
parent | 7e6a26cc9d857ffc53fdb2395aa5413ff1865f9e (diff) | |
download | rtmux-d5902eeae9da610b2652ffda9a66e560d179f1b8.tar.gz rtmux-d5902eeae9da610b2652ffda9a66e560d179f1b8.tar.bz2 rtmux-d5902eeae9da610b2652ffda9a66e560d179f1b8.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'layout-custom.c')
-rw-r--r-- | layout-custom.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/layout-custom.c b/layout-custom.c index 9886afe1..4d9e818b 100644 --- a/layout-custom.c +++ b/layout-custom.c @@ -168,10 +168,7 @@ layout_parse(struct window *w, const char *layout) /* Update pane offsets and sizes. */ layout_fix_offsets(lc); layout_fix_panes(w); - - /* Then resize the layout back to the original window size. */ - layout_resize(w, sx, sy); - window_resize(w, sx, sy); + recalculate_sizes(); layout_print_cell(lc, __func__, 0); |