zwlr_output_configuration_head_v1¤
wayland.zwlr_output_configuration_head_v1 ¤
Head configuration
This object is used by the client to update a single head's configuration.
It is a protocol error to set the same property twice.
Methods:
-
set_mode
–Set the mode
-
set_custom_mode
–Set a custom mode
-
set_position
–Set the position
-
set_transform
–Set the transform
-
set_scale
–Set the scale
-
set_adaptive_sync
–Enable/disable adaptive sync
error ¤
-
already_set
–Property has already been set -
invalid_mode
–Mode doesn't belong to head -
invalid_custom_mode
–Mode is invalid -
invalid_transform
–Transform value outside enum -
invalid_scale
–Scale negative or zero -
invalid_adaptive_sync_state
–Invalid enum value used in the `set_adaptive_sync` request
set_mode ¤
set_mode(mode: zwlr_output_mode_v1) -> None
Set the mode
This request sets the head's mode.
set_custom_mode ¤
Set a custom mode
This request assigns a custom mode to the head. The size is given in physical hardware units of the output device. If set to zero, the refresh rate is unspecified.
It is a protocol error to set both a mode and a custom mode.
Parameters:
set_position ¤
set_transform ¤
set_transform(transform: transform) -> None
Set the transform
This request sets the head's transform.
set_adaptive_sync ¤
set_adaptive_sync(state: adaptive_sync_state) -> None
Enable/disable adaptive sync
This request enables/disables adaptive sync. Adaptive sync is also known as Variable Refresh Rate or VRR.