screencopy: Use send_success_when_ready for other forms of capture

A little annoying to add a `loop_handle` argument to `render_output`,
but generally straightforward.
This commit is contained in:
Ian Douglas Scott 2025-08-20 15:31:18 -07:00 committed by Victoria Brekenfeld
parent 10c05bc1d4
commit 905d021552
4 changed files with 28 additions and 13 deletions

View file

@ -63,6 +63,7 @@ impl WinitState {
&self.output,
CursorMode::NotDefault,
&mut self.screen_filter_state,
&state.event_loop_handle,
) {
Ok(RenderOutputResult { damage, states, .. }) => {
std::mem::drop(fb);