This can be changed in the Options/Display/Options/Windows dialog. It can also be changed per window by clicking the top left corner icon of the window to display the system menu and checking/unchecking the Desktop menu item.