Irradiated Software

Only one window can have focus at a time.  You can usually tell which window is focused by the color of the buttons in the upper-left corner.

Also, a focused window usually has a heavier shadow compared to an unfocued window.