diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-12-07 09:52:59 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-12-07 09:52:59 +0000 |
commit | 138ffc7cb6225b8a6d54d771b0112635f0dbb42e (patch) | |
tree | 289b9f8c4ca207f92b6d81f9511c520969241120 /resize.c | |
parent | ef676e1202a4d5c423d5bba2f8ecba1f768d8364 (diff) | |
parent | d721fb2a9fd70c157abb8540d4c50fca654f9f4d (diff) | |
download | rtmux-138ffc7cb6225b8a6d54d771b0112635f0dbb42e.tar.gz rtmux-138ffc7cb6225b8a6d54d771b0112635f0dbb42e.tar.bz2 rtmux-138ffc7cb6225b8a6d54d771b0112635f0dbb42e.zip |
Merge branch 'obsd-master' into master
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); |