Skip to main content

displays

Function displays 

Source
pub async fn displays() -> Result<Vec<Display>, Error>
Expand description

List the available displays and the identifiers Source::Display accepts.

On Wayland the xdg-desktop-portal picker owns display selection, so there is no portal list or stable identifier to expose. When XWayland is available, its native displays are listed with stable X11 ids.