Advertise version 2 of zcosmic_workspace_manager_v1 global

This commit is contained in:
Ian Douglas Scott 2024-01-11 14:47:57 -08:00 committed by Victoria Brekenfeld
parent c0f7524a09
commit b8e5dbea8f
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -955,7 +955,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
dependencies = [
"libloading 0.8.1",
"libloading 0.7.4",
]
[[package]]

View file

@ -420,7 +420,7 @@ where
F: for<'a> Fn(&'a Client) -> bool + Send + Sync + 'static,
{
let global = dh.create_global::<D, ZcosmicWorkspaceManagerV1, _>(
1,
2,
WorkspaceGlobalData {
filter: Box::new(client_filter),
},