Press Ctrl + Enter. That's it.
The shortcut toggles between windowed and full-screen mode at any point during play, so you can flip back and forth without restarting the client or digging through the options menu. Handy if you want to keep a browser window open alongside the game.