If you enter fullscreen/F11 and then exit it, your mouse cursor is restricted the size of what would be the minecraft window, but you don't see the actual window, but instead the window behind it. Clicking the mouse will make you enter that window, leaving the minecraft window paused in the background.
In previous versions, leaving fullscreen makes the Minecraft window appear in front.