From c660e46149d606bd5e52941081cbe155e493768b Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 17 Apr 2019 14:43:49 +0000 Subject: Set the window size as well as the layout size when using the preset layouts. --- cmd-select-layout.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd-select-layout.c') 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); -- cgit v1.2.3