Skip to main content

reap_dead_host

Function reap_dead_host 

Source
pub(crate) fn reap_dead_host(state: &mut AppState)
Expand description

Drop a host-capture session whose compositor connection has ended, stopping every capture it fed: their displays leave the alive set, so is_capturing turns false and the consumer rebuilds them (the next start reconnects), and no input is written to a dead connection. The same signal X11 gives when its capture thread ends.