Struct runa_wayland_protocols::unstable::xdg_shell_unstable_v5::xdg_surface::v1::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 without the “maximized” state. If available, the compositor will include the window geometry dimensions the window had prior to being maximized in the configure request. The client must then update its content, drawing it in a regular state, i.e. potentially with shadow, etc. 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.
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 ==
.