Merge pull request #56 from pop-os/workspace-done_jammy

workspace: Send `done` once on bind, not for each group
This commit is contained in:
Victoria Brekenfeld 2023-01-03 23:50:26 +01:00 committed by GitHub
commit 52561496ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,8 +160,8 @@ where
let instance = data_init.init(resource, ());
for group in &mut state.groups {
send_group_to_client::<D>(dh, &instance, group);
instance.done();
}
instance.done();
state.instances.push(instance);
}