fn active_indices(
active: Option<usize>,
primary: Option<usize>,
monitor_count: usize,
) -> Vec<usize>Expand description
Monitor index to cover for the Active placement: whichever monitor
holds the cursor, else the reported primary, else the first available.
Pure so the fallback chain is unit-testable. Returns an empty list only
when there are no monitors at all.