diff options
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -348,6 +348,8 @@ recalculate_size_skip_client(struct client *loop, __unused int type, * is not the current window - this is used for aggressive-resize. * Otherwise skip any session that doesn't contain the window. */ + if (loop->session->curw == NULL) + return (1); if (current) return (loop->session->curw->window != w); return (session_has(loop->session, w) == 0); |