Package: gdk

Function gdk-window-fullscreen-mode

Lambda List

gdk-window-fullscreen-mode (window)

Syntax

gdk-window-fullscreen-mode window) => mode
(setf (gdk-window-fullscreen-mode window) mode)

Arguments

window -- a toplevel gdk-window object
mode -- a value of the gdk-fullscreen-mode enumeration

Details

Accessor of the fullscreen mode applied to the window when fullscreen.

The function gdk-window-fullscreen-mode obtains the fullscreen mode of the window. The function (setf gdk-window-fullscreen-mode) specifies whether the window should span over all monitors (in a multi-head setup) or only the current monitor when in fullscreen mode.

The mode argument is from the gdk-fullscreen-mode enumeration. If :on-all-monitors is specified, the fullscreen window will span over all monitors from the gdk-screen object.

On X11, searches through the list of monitors from the gdk-screen object the ones which delimit the 4 edges of the entire gdk-screen object and will ask the window manager to span the window over these monitors.

If the XINERAMA extension is not available or not usable, this function has no effect.

Not all window managers support this, so you can not rely on the fullscreen window to span over the multiple monitors when :on-all-monitors is specified.
 

See also

2020-9-22