summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2021-06-10 07:24:45 +0000
committernicm <nicm>2021-06-10 07:24:45 +0000
commit9f38a8807c6c6b3b7596f06c2bb662242337ac48 (patch)
treefcb3b1dcc9ee8b483c38db01bd26ab6344f88873 /window.c
parent64c276c23bd729c03c2a3ff00c6f9e6ac4c644c6 (diff)
Include current client in size calculation for new sessions, GitHub
issue 2662.
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.c b/window.c
index 36cf12d9..519f91b1 100644
--- a/window.c
+++ b/window.c
@@ -331,6 +331,8 @@ window_create(u_int sx, u_int sy, u_int xpixel, u_int ypixel)
window_update_activity(w);
+ log_debug("%s: @%u create %ux%u (%ux%u)", __func__, w->id, sx, sy,
+ w->xpixel, w->ypixel);
return (w);
}