love.window.setFullscreen
Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected.
success = love.window.setFullscreen( fullscreen )
fullscreen boolean Whether to enter or exit fullscreen mode.
success boolean True if an attempt to enter fullscreen was successful, false otherwise.
success = love.window.setFullscreen( fullscreen, fstype )
fullscreen boolean Whether to enter or exit fullscreen mode.
fstype FullscreenType The type of fullscreen mode to use.
success boolean True if an attempt to enter fullscreen was successful, false otherwise.