Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    spec: &str,
    displays: &[DisplayInfo],
) -> Result<DisplayTarget, ComputerError>
Expand description

Resolve a numeric --display against the live display list.

Virtual never reaches here: it is handled by the CLI, because exec’ing a prepared X server is not something a JSON request can do. A JSON caller that asks for it gets unsupported, not a silent whole-desktop capture.