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:
parent
10c05bc1d4
commit
905d021552
4 changed files with 28 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue