- Clicking on the upper-right button aka the X button
- Alt + F4
- Selecting the Close command from the system menu (the upper-left icon on a window)
By double clicking the upper-left icon you execute the default command, which is the Close command.
Hooray!