Skip to main content

offscreen_frame

Function offscreen_frame 

Source
pub fn offscreen_frame(
    displays: &[Rect],
    size: (f64, f64),
) -> Result<Rect, OffscreenError>
Expand description

Frame for a size window placed OFFSCREEN_GAP right of the union of ALL displays (not just the primary one), aligned to the union’s lowest y. The result intersects neither any display nor the union bounding box.