mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-08 01:41:28 +03:00
cleanup server code
This commit is contained in:
@@ -566,7 +566,6 @@ impl Stream for WaylandEventProducer {
|
||||
type Item = io::Result<(ClientHandle, Event)>;
|
||||
|
||||
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
||||
log::trace!("producer.next()");
|
||||
if let Some(event) = self.0.get_mut().state.pending_events.pop_front() {
|
||||
return Poll::Ready(Some(Ok(event)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user