fix: upgrade smithay

This commit is contained in:
Nova
2023-05-10 16:51:39 -04:00
parent cb9368cb8e
commit a31781146e
5 changed files with 71 additions and 94 deletions

View File

@@ -129,7 +129,7 @@ impl Wayland {
}
acc = listen_async.accept() => { // New client connected
let (stream, _) = acc?;
let client = dh2.insert_client(stream.into_std()?, Arc::new(ClientState))?;
let client = dh2.insert_client(stream.into_std()?, Arc::new(ClientState::default()))?;
state.lock().new_client(client.id(), &dh2);
}