Skip to main content

WAYLAND_CAPTURE_ERR

Static WAYLAND_CAPTURE_ERR 

Source
pub(crate) static WAYLAND_CAPTURE_ERR: OnceLock<Mutex<HashMap<u32, String>>>
Expand description

Per-display outcome of the most recent capture start, recorded by the calloop thread so the Python-facing capture_state can report it. A start that came up clean removes its entry; a hard failure (no output, …) or a caveat that still capturing (host connect failed -> local compositing, hardware encoder fell back to CPU) leaves the reason here. Distinct from wayland_alive, which says only whether the pipeline runs.