Enum wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_manager_v1::Event
source · #[non_exhaustive]pub enum Event {
Head {
head: Main<ZwlrOutputHeadV1>,
},
Done {
serial: u32,
},
Finished,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Head
Fields
head: Main<ZwlrOutputHeadV1>
introduce a new head
This event introduces a new head. This happens whenever a new head appears (e.g. a monitor is plugged in) or after the output manager is bound.
Done
sent all information about current configuration
This event is sent after all information has been sent after binding to the output manager object and after any subsequent changes. This applies to child head and mode objects as well. In other words, this event is sent whenever a head or mode is created or destroyed and whenever one of their properties has been changed. Not all state is re-sent each time the current configuration changes: only the actual changes are sent.
This allows changes to the output configuration to be seen as atomic, even if they happen via multiple events.
A serial is sent to be used in a future create_configuration request.
Finished
the compositor has finished with the manager
This event indicates that the compositor is done sending manager events. The compositor will destroy the object immediately after sending this event, so it will become invalid and the client should release any resources associated with it.
Trait Implementations§
source§impl MessageGroup for Event
impl MessageGroup for Event
source§const MESSAGES: &'static [MessageDesc] = _
const MESSAGES: &'static [MessageDesc] = _
§type Map = ProxyMap
type Map = ProxyMap
source§fn is_destructor(&self) -> bool
fn is_destructor(&self) -> bool
source§fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
fn child<Meta: ObjectMetadata>( opcode: u16, version: u32, meta: &Meta ) -> Option<Object<Meta>>
Object
associated with this message if any