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

@ -51,6 +51,8 @@ resize_window(struct window *w, u_int sx, u_int sy)
if (sy < w->layout_root->sy)
sy = w->layout_root->sy;
window_resize(w, sx, sy);
log_debug("%s: @%u resized to %u,%u; layout %u,%u", __func__, w->id,
sx, sy, w->layout_root->sx, w->layout_root->sy);
/* Restore the window zoom state. */
if (zoomed)