Struct runa_wayland_protocols::stable::xdg_shell::xdg_toplevel::v5::requests::SetFullscreen
source · pub struct SetFullscreen {
pub output: Object,
}
Expand description
set the window as fullscreen on an output
Make the surface fullscreen.
After requesting that the surface should be fullscreened, the compositor will respond by emitting a configure event. Whether the client is actually put into a fullscreen state is subject to compositor policies. The client must also acknowledge the configure when committing the new content (see ack_configure).
The output passed by the request indicates the client’s preference as to which display it should be set fullscreen on. If this value is NULL, it’s up to the compositor to choose which display will be used to map this surface.
If the surface doesn’t cover the whole output, the compositor will position the surface in the center of the output and compensate with with border fill covering the rest of the output. The content of the border fill is undefined, but should be assumed to be in some way that attempts to blend into the surrounding area (e.g. solid black).
If the fullscreened surface is not opaque, the compositor must make sure that other screen content not part of the same surface tree (made up of subsurfaces, popups or similarly coupled surfaces) are not visible below the fullscreened surface.
Fields§
§output: Object
Implementations§
Trait Implementations§
source§impl Clone for SetFullscreen
impl Clone for SetFullscreen
source§fn clone(&self) -> SetFullscreen
fn clone(&self) -> SetFullscreen
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetFullscreen
impl Debug for SetFullscreen
source§impl<'a> Deserialize<'a> for SetFullscreen
impl<'a> Deserialize<'a> for SetFullscreen
source§impl PartialEq<SetFullscreen> for SetFullscreen
impl PartialEq<SetFullscreen> for SetFullscreen
source§fn eq(&self, other: &SetFullscreen) -> bool
fn eq(&self, other: &SetFullscreen) -> bool
self
and other
values to be equal, and is used
by ==
.