Notice that window borders are included in the calculation, and that a window can be obscured and yet still have visible regions. See occlude (there is a fine distinction between obscure and occlude).
Notice that window borders are included in the calculation. See obscure (there is a fine distinction between occlude and obscure).