Skip to main content

serve_changes

Function serve_changes 

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

Render each capture a change waits on (WlCapture::change_pending: a client’s commit, input, a host frame) once its period is open: a change takes its period’s frame as it lands, the X11 captures’ schedule, rather than waiting for the frame timer. A capture whose period a frame already took keeps waiting, and the timer wakes as the next one opens.