mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-26 14:40:54 +03:00
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:
@@ -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!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user