Skip to main content

select_output

Function select_output 

pub fn select_output(
    monitors: &[MonitorInfo],
    target: FullscreenTarget,
) -> Option<u32>
Expand description

Pure output selection: given the enumerated monitors and a target, return the index of the chosen monitor, or None to defer output choice to the compositor (Auto, an empty monitor list, or an out-of-range Output).