Struct runa_wayland_protocols::unstable::xdg_shell_unstable_v5::xdg_surface::v1::requests::AckConfigure
source · pub struct AckConfigure {
pub serial: u32,
}
Expand description
ack a configure event
When a configure event is received, if a client commits the surface in response to the configure event, then the client must make an ack_configure request sometime before the commit request, passing along the serial of the configure event.
For instance, the compositor might use this information to move a surface to the top left only when the client has drawn itself for the maximized or fullscreen state.
If the client receives multiple configure events before it can respond to one, it only has to ack the last configure event.
A client is not required to commit immediately after sending an ack_configure request - it may even ack_configure several times before its next surface commit.
The compositor expects that the most recently received ack_configure request at the time of a commit indicates which configure event the client is responding to.
Fields§
§serial: u32
Implementations§
Trait Implementations§
source§impl Clone for AckConfigure
impl Clone for AckConfigure
source§fn clone(&self) -> AckConfigure
fn clone(&self) -> AckConfigure
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AckConfigure
impl Debug for AckConfigure
source§impl<'a> Deserialize<'a> for AckConfigure
impl<'a> Deserialize<'a> for AckConfigure
source§impl PartialEq<AckConfigure> for AckConfigure
impl PartialEq<AckConfigure> for AckConfigure
source§fn eq(&self, other: &AckConfigure) -> bool
fn eq(&self, other: &AckConfigure) -> bool
self
and other
values to be equal, and is used
by ==
.