The bird is pecking on the window and perched on the ledge
a small bird is standing near a window
A bird sitting on a window seal staring into the window.
a little bird sitting on a ledge as it looks at the window 
a small bird on a window sill looking into the windoe 