read_loop now happens on its own thread, replace WlClient::new() with blocking run()

This commit is contained in:
2025-05-08 00:32:17 -07:00
parent 6cd5d1f256
commit bde60fff90
6 changed files with 35 additions and 34 deletions

View File

@@ -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(())
}