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 /resize.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 'resize.c')
-rw-r--r-- | resize.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |