wlroots: Fix crash when socket is overwhelmed

Previously when the output buffer was overwhelmed, additional
events were submitted until the outgoing buffer filled up, which
causes the wayland-connection to 'break' and not accept further attempts
to flush() the socket.
This commit is contained in:
Ferdinand Schober
2023-10-12 12:40:57 +02:00
parent ab2514e508
commit 96ab7d304b
6 changed files with 37 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ impl LibeiConsumer {
}
impl EventConsumer for LibeiConsumer {
fn consume(&self, _: crate::event::Event, _: crate::client::ClientHandle) {
fn consume(&mut self, _: crate::event::Event, _: crate::client::ClientHandle) {
log::error!("libei backend not yet implemented!");
todo!()
}