read_loop now happens on its own thread, replace WlClient::new() with blocking run()
This commit is contained in:
@@ -6,7 +6,7 @@ use wayland::wl_client::WlClient;
|
||||
mod graphics;
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
let mut wl_client = WlClient::new()?;
|
||||
let mut wl_client = WlClient::run()?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user