Enum wayland_client::core::shell::ShellFullscreenMethod [] [src]

pub enum ShellFullscreenMethod {
    Default,
    Scale,
    Driver(Option<u32>),
    Fill,
}

Different methods of fullscreen for a shell surface.

Variants

Default

Default method: let the compositor decide.

Scale

Match the sizes by scaling the content of the window to fit the output dimensions.

Driver

Match the sizes by changing the video mode of the graphic driver. An optionnal framerate can be provided, if not the compositor will it. The framerate is provided in mHz.

Fill

Buffer is not scaled (but its intrisic scaling is still applied), unless it is bigger than the output: the compositor is then allowed to scale it down.