You're more or less inside a Faraday cage. I find you'll generally get a strong lock just holding your phone near the window, though TTFF can be relatively slow compared to normal due to the lack of AGPS.
I've had good luck getting fixed, particularly in window seats holding the phone generally close to the window. It takes longer than on the ground outside.