Skip to main content

settle

Function settle 

Source
pub(crate) fn settle(
    connection: &Connection,
    queue: &mut EventQueue<Probe>,
    probe: &mut Probe,
) -> Result<(), String>
Expand description

Flush, wait for the compositor to answer, dispatch whatever arrived.

Bounded by construction: the sync it sends is answered by any live compositor, so this cannot wait forever on a compositor that has simply stopped having anything to say.