pub enum Event {
Scale {
flags: Enum<ScaleProperty>,
scale: Enum<ScaleFactor>,
},
Connection {
connection: Enum<ConnectionType>,
},
DeviceScaleFactor {
scale: Enum<ScaleFactor>,
},
}
Variants§
Scale
advertise available scales for the output
The scale event describes an available scale for the output.
The event is sent when binding to the output object and there will always be one scale, the current scale. The event is sent again if an output changes scale, for the scale that is now current. In other words, the current scale is always the last scale that was received with the current flag set.
Connection
advertise connection for the output
The connection event describes how the output is connected.
The event is sent when binding to the output object.
Fields
connection: Enum<ConnectionType>
output connection
DeviceScaleFactor
advertise device scale factor for the output
This event describes the device specific scale factor for the output.
The device specific scale factor is not expected the change during the lifetime of the output. And it is not limited to an integer value like the scale factor provided by wl_output interface. The exact contents scale used by the compositor can be determined by combining this device scale factor with the current output scale.
The event is sent when binding to the output object.
Fields
scale: Enum<ScaleFactor>
output device scale factor