The crow standing by the window shows that the overall environment of the house is better. If you feel uncomfortable, you can choose to tap the window gently and let the crow fly away automatically, which will not hurt the animals and is convenient.
Although crows are not protected animals, they still need to choose the right way to deal with them after encountering them.