I had that happen to me once, only it was just a little robin, come in through the window that was down about 6inches, must have had pin point accuracy like!! lol
Deffo a shock to the system, i didnt notice mine until we got home though. was in pain and cudnt fly, so took it to rspca who i think eventually put it to sleep.