Make recalculate_sizes() handle an empty window with no active
commit0538676aa38914097fcf1a8eb292eac8852434aa
authornicm <nicm>
Thu, 10 Oct 2013 11:46:00 +0000 (10 11:46 +0000)
committernicm <nicm>
Thu, 10 Oct 2013 11:46:00 +0000 (10 11:46 +0000)
treea15dff7f348ccdfdf5753bb2771fb5567acd6c36
parent4c9f41f1adbdf2e9c5fa2def959ac13ea4a9785c
Make recalculate_sizes() handle an empty window with no active
pane. This can happen when a window is in two sessions - it isn't
destroyed immediately when the pane goes away but is left until the last
session is destroyed. Fixes problems with grouped sessions reported by
Daniel Ralston.
resize.c