toggle-frame-fullscreen

toggle-frame-fullscreen is an interactive compiled Lisp function in `frame.el'.

It is bound to <f11>.

(toggle-frame-fullscreen)

Toggle fullscreen mode of the selected frame.
Enable fullscreen mode of the selected frame or disable if it is
already fullscreen. Ignore window manager screen decorations.
When turning on fullscreen mode, remember the previous value of the
maximization state in the temporary frame parameter `maximized'.
Restore the maximization state when turning off fullscreen mode.

Note that with some window managers you may have to set
`frame-resize-pixelwise' to non-nil in order to make a frame
appear truly fullscreen.

See also `toggle-frame-maximized'.