Skip to main content

rescale

Function rescale 

Source
fn rescale(
    screens: &[Screen],
    index: usize,
    mode: Option<(i32, i32)>,
    scale: f64,
) -> Result<Vec<(ZwlrOutputHeadV1, Plan)>, String>
Expand description

The plan that gives screen index a scale, and the mode asked for, and closes the others up around the logical size it takes.