Enum wayland_client::wayland::shell::WlShellSurfaceFullscreenMethod
[−]
[src]
pub enum WlShellSurfaceFullscreenMethod { Default, Scale, Driver, Fill, }
different method to set the surface fullscreen
Hints to indicate to the compositor how to deal with a conflict between the dimensions of the surface and the dimensions of the output. The compositor is free to ignore this parameter.
Variants
Default
no preference, apply default policy
Scale
scale, preserve the surface's aspect ratio and center on output
Driver
switch output mode to the smallest mode that can fit the surface, add black borders to compensate size mismatch
Fill
no upscaling, center on output and add black borders to compensate size mismatch