Expand description
a list of custom modes
This list is populated by first setting each relevant property, and then calling add_mode to add a mode with these properties. One would for example call
- set_resolution
- set_refresh_rate
- set_reduced_blanking
- add_mode
add_mode does not reset the properties that were previously set, they are valid until the object is destroyed. The compositor may additionally have sensible defaults for some properties like reduced_blanking, but for consistent results, it’s best to always set each known property every time.
One can also specify custom modes with CVT timings, for example
- add_cvt
- add_cvt
The parameters resolution and refresh rate are required, if they are not set, the missing_parameters error will be emitted.
Structs§
- KdeMode
List V2 - a list of custom modes
Enums§
Constants§
- REQ_
ADD_ CVT_ OPCODE - The wire opcode for this request
- REQ_
ADD_ CVT_ SINCE - The minimal object version supporting this request
- REQ_
ADD_ MODE_ OPCODE - The wire opcode for this request
- REQ_
ADD_ MODE_ SINCE - The minimal object version supporting this request
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request
- REQ_
SET_ REDUCED_ BLANKING_ OPCODE - The wire opcode for this request
- REQ_
SET_ REDUCED_ BLANKING_ SINCE - The minimal object version supporting this request
- REQ_
SET_ REFRESH_ RATE_ OPCODE - The wire opcode for this request
- REQ_
SET_ REFRESH_ RATE_ SINCE - The minimal object version supporting this request
- REQ_
SET_ RESOLUTION_ OPCODE - The wire opcode for this request
- REQ_
SET_ RESOLUTION_ SINCE - The minimal object version supporting this request