Active window

If only one window is present, this is always the active one. If there is more than one windows, the window that has a small frame around it is the active.

You can see if a window is active from the top of the window. The windows that are not active is gray, and the active window is blue (standard configuration of Windows). If the window is maximized it is the active window.