1
0
Fork 0
forked from wry/wry

runtime: replace epoll by io-uring

This commit is contained in:
Julian Orth 2022-05-12 22:50:33 +02:00
parent 98cc85e2d3
commit 9416efeabe
21 changed files with 173 additions and 742 deletions

View file

@ -289,7 +289,7 @@ impl XBackend {
"Fatal error: Could not handle an event from the X server: {}",
ErrorFmt(e)
);
self.state.el.stop();
self.state.ring.stop();
return;
}
}
@ -851,7 +851,7 @@ impl XBackend {
}
fn handle_destroy(&self, event: &Event) -> Result<(), XBackendError> {
self.state.el.stop();
self.state.ring.stop();
let event: DestroyNotify = event.parse()?;
let output = match self.outputs.remove(&event.event) {
Some(o) => o,