People gather around a window to look outside at a large crowd.
A group is by the window.
A group is another way to refer to a gathering of people.  If you look out a window you are most often looking outside.
(-x)
(-x)