When I lived in a wooded area we put sun catchers in the windows to keep the birds from flying into them.
My wife painted a dogs paw on the basement slider after Ilsa ran into the closed glass door. It's a wonder she didn't break it

No dog has had a run in with it since.