Enum wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_v1::Request
source · #[non_exhaustive]pub enum Request {
EnableHead {
head: ZwlrOutputHeadV1,
},
DisableHead {
head: ZwlrOutputHeadV1,
},
Apply,
Test,
Destroy,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EnableHead
Fields
head: ZwlrOutputHeadV1
enable and configure a head
Enable a head. This request creates a head configuration object that can be used to change the head’s properties.
DisableHead
Fields
head: ZwlrOutputHeadV1
disable a head
Disable a head.
Apply
apply the configuration
Apply the new output configuration.
In case the configuration is successfully applied, there is no guarantee that the new output state matches completely the requested configuration. For instance, a compositor might round the scale if it doesn’t support fractional scaling.
After this request has been sent, the compositor must respond with an succeeded, failed or cancelled event. Sending a request that isn’t the destructor is a protocol error.
Test
test the configuration
Test the new output configuration. The configuration won’t be applied, but will only be validated.
Even if the compositor succeeds to test a configuration, applying it may fail.
After this request has been sent, the compositor must respond with an succeeded, failed or cancelled event. Sending a request that isn’t the destructor is a protocol error.
Destroy
destroy the output configuration
Using this request a client can tell the compositor that it is not going to use the configuration object anymore. Any changes to the outputs that have not been applied will be discarded.
This request also destroys wlr_output_configuration_head objects created via this object.
This is a destructor, once sent this object cannot be used any longer.
Trait Implementations§
source§impl MessageGroup for Request
impl MessageGroup for Request
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