mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-15 10:21:29 +03:00
Fix Error handling in layershell producer (#61)
previous error handling resulted in a softlock when the connection to the compositor was lost
This commit is contained in:
committed by
GitHub
parent
f5827bb31c
commit
6cdb607b11
@@ -23,7 +23,11 @@ impl Stream for MacOSProducer {
|
||||
}
|
||||
|
||||
impl EventProducer for MacOSProducer {
|
||||
fn notify(&mut self, _event: ClientEvent) {}
|
||||
fn notify(&mut self, _event: ClientEvent) -> io::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn release(&mut self) {}
|
||||
fn release(&mut self) -> io::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user