Yes, depending on the intent and behavior of the person near the window. If they are attempting to peer inside or violate the homeowner's privacy, it may be deemed trespass.