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. --- resize.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resize.c') diff --git a/resize.c b/resize.c index 868ddac8..caac74ba 100644 --- a/resize.c +++ b/resize.c @@ -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) -- cgit