Skip to content

Commit

Permalink
webrender: event_loop linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
declantsien committed Jan 2, 2023
1 parent 446835b commit 5a13dd8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rust_src/crates/webrender/src/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,13 @@ pub extern "C" fn wr_select1(
}
_ => {}
},

Event::UserEvent(nfds) => {
nfds_result.replace(nfds);
control_flow.set_exit();
}
},
Event::RedrawEventsCleared => {
control_flow.set_exit();
},
_ => {}
};
});
Expand Down

0 comments on commit 5a13dd8

Please sign in to comment.