In #shadowrun for example this was always quite interesting. In most editions iirc physical combat spells originated at your point of location and flew to the target. Thus a window blocked the spell. In other editions the spell materialized at the target - windows were no problem

Niels Kobschätzki @nielsk