Struct runa_wayland_protocols::stable::xdg_shell::xdg_toplevel::v5::requests::SetMaximized
source · pub struct SetMaximized {}
Expand description
maximize the window
Maximize the surface.
After requesting that the surface should be maximized, the compositor will respond by emitting a configure event. Whether this configure actually sets the window maximized is subject to compositor policies. The client must then update its content, drawing in the configured state. The client must also acknowledge the configure when committing the new content (see ack_configure).
It is up to the compositor to decide how and where to maximize the surface, for example which output and what region of the screen should be used.
If the surface was already maximized, the compositor will still emit a configure event with the “maximized” state.
If the surface is in a fullscreen state, this request has no direct effect. It may alter the state the surface is returned to when unmaximized unless overridden by the compositor.
Implementations§
Trait Implementations§
source§impl Clone for SetMaximized
impl Clone for SetMaximized
source§fn clone(&self) -> SetMaximized
fn clone(&self) -> SetMaximized
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetMaximized
impl Debug for SetMaximized
source§impl<'a> Deserialize<'a> for SetMaximized
impl<'a> Deserialize<'a> for SetMaximized
source§impl PartialEq<SetMaximized> for SetMaximized
impl PartialEq<SetMaximized> for SetMaximized
source§fn eq(&self, other: &SetMaximized) -> bool
fn eq(&self, other: &SetMaximized) -> bool
self
and other
values to be equal, and is used
by ==
.