I think the window is more geared towards carbs, because right after a workout muscle glycogen is depleted. The faster you get the carbs down the better. This is because working out activates a transporter (GLUT4) that transports glucose into your muscle cells, where it is converted to glycogen.
Now, this transporter is also activated by insulin, which you will have a lot of if you eat a lot of carbs. So you might think, what's the difference between right after and waiting an hour? Well, to be honest, I'm not quite sure, but I guess that training induced + insulin induced GLUT4 activation trumphs only one. But I don't have any sources on that and it could be that the transporter will reach maximum activation with just one alone.
Now that being said, if you are out of glycogen the body will have to convert amino acids (what protein consists of) to glycose in order to keep blood sugar up. So the faster you get some carbs, the faster the body can stop relying on protein for glucose. That would be if you really depleted your glycogen stores.