Skip to main content

watch_windows

Function watch_windows 

Source
fn watch_windows(
    display: &str,
    tx: UnboundedSender<usize>,
    opened: Arc<AtomicUsize>,
) -> Result<(), String>
Expand description

How many windows the screen shows, told whenever it changes: at the moment a window is mapped or unmapped (the screen’s own events, on a thread of its own), so what is typed after a window opens is held from that moment.