diff options
author | nicm <nicm> | 2019-04-17 14:43:49 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-17 14:43:49 +0000 |
commit | c660e46149d606bd5e52941081cbe155e493768b (patch) | |
tree | b10d9763f0bef0318205d876358633dbb28ec3cf /cmd-select-layout.c | |
parent | e3b1358bbc616c1ba95414d6102c23bfcaa37687 (diff) | |
download | rtmux-c660e46149d606bd5e52941081cbe155e493768b.tar.gz rtmux-c660e46149d606bd5e52941081cbe155e493768b.tar.bz2 rtmux-c660e46149d606bd5e52941081cbe155e493768b.zip |
Set the window size as well as the layout size when using the preset
layouts.
Diffstat (limited to 'cmd-select-layout.c')
-rw-r--r-- | cmd-select-layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-select-layout.c b/cmd-select-layout.c index d8fc1aeb..775d32c5 100644 --- a/cmd-select-layout.c +++ b/cmd-select-layout.c @@ -135,6 +135,7 @@ cmd_select_layout_exec(struct cmd *self, struct cmdq_item *item) changed: free(oldlayout); + recalculate_sizes(); server_redraw_window(w); notify_window("window-layout-changed", w); return (CMD_RETURN_NORMAL); |