Struct runa_wayland_protocols::stable::xdg_shell::xdg_toplevel::v5::requests::UnsetMaximized
source · pub struct UnsetMaximized {}
Expand description
unmaximize the window
Unmaximize the surface.
After requesting that the surface should be unmaximized, the compositor will respond by emitting a configure event. Whether this actually un-maximizes the window is subject to compositor policies. If available and applicable, the compositor will include the window geometry dimensions the window had prior to being maximized in the configure event. The client must then update its content, drawing it 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 position the surface after it was unmaximized; usually the position the surface had before maximizing, if applicable.
If the surface was already not maximized, the compositor will still emit a configure event without 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 UnsetMaximized
impl Clone for UnsetMaximized
source§fn clone(&self) -> UnsetMaximized
fn clone(&self) -> UnsetMaximized
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UnsetMaximized
impl Debug for UnsetMaximized
source§impl<'a> Deserialize<'a> for UnsetMaximized
impl<'a> Deserialize<'a> for UnsetMaximized
source§impl PartialEq<UnsetMaximized> for UnsetMaximized
impl PartialEq<UnsetMaximized> for UnsetMaximized
source§fn eq(&self, other: &UnsetMaximized) -> bool
fn eq(&self, other: &UnsetMaximized) -> bool
self
and other
values to be equal, and is used
by ==
.