Product SiteDocumentation Site

A.11.3.2. wl_shell_surface::fullscreen_method - different method to set the surface fullscreen

Hints to indicate compositor how to deal with this fullscreen surface. "default" means the client has no preference on fullscreen behavior, policies are determined by compositor. "scale" means the client prefers scaling by the compositor. Scaling would always preserve surface's aspect ratio. And the surface is centered. "driver" means the client wants to switch video mode to the smallest mode that can fit the client buffer. If the sizes do not match, black borders are added. "fill" means the client wants to add blackborders to the surface. This would be preferring 1:1 pixel mapping in the monitor native video mode. The surface is centered.
wl_shell_surface::fullscreen_method values
default
Value: 0
scale
Value: 1
driver
Value: 2
fill
Value: 3