pub fn snapshot(state: &mut AppState, window: &Window)Expand description
Keep the last picture of a mapped window about to lose its buffer, with the frame it wears, so the policy’s close effect can shrink and fade it. Taken once per window: a client that attaches a null buffer and then destroys its toplevel is snapshotted on the first.