pick_primary_centered

Function pick_primary_centered 

Source
fn pick_primary_centered(monitors: &[Rect]) -> Option<Rect>
Expand description

Phase B.9.2 — pick a corrective target rect: centered on the first monitor at a sensible default size (1280x800 or 70% of monitor, whichever is smaller). None if the monitor list is empty (caller suppresses corrective in that case).