Window glass typically doesn't pass wavelengths over about 2.5 microns, and some some solar treated glass not over 1 micron. PIR detectors pick up body heat in the mid-IR spectrum from around 5 to 15 microns. So unless you get very very expensive special glass, which does exist, a PIR is not going to detect through it.