Set the window size as well as the layout size when using the preset

layouts.
This commit is contained in:
nicm
2019-04-17 14:43:49 +00:00
parent e3b1358bbc
commit c660e46149
5 changed files with 31 additions and 8 deletions

View File

@ -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);