Skip to main content

set_output_scale

Function set_output_scale 

Source
pub fn set_output_scale(
    socket_path: &str,
    index: usize,
    scale: f64,
) -> Result<ScaleOutcome, String>
Expand description

Set the scale of the index-th screen of the compositor on socket_path, leaving its mode and position alone. Blocking; call off the compositor’s calloop thread.