Allowing the barrel to protrude from the windows gives away your position.

I don't know if starlings can figure that out, but they might.