This commit is contained in:
Ashley Wulber 2022-07-19 11:40:04 -04:00
parent 560ebc0bf5
commit dc13ca6e46
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 4 additions and 3 deletions

4
Cargo.lock generated
View file

@ -2141,7 +2141,7 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]] [[package]]
name = "relm4" name = "relm4"
version = "0.5.0-beta.1" version = "0.5.0-beta.1"
source = "git+https://github.com/Relm4/Relm4.git?branch=next#746d244004e23764294b23519f6f8be1002c1ceb" source = "git+https://github.com/relm4/relm4?branch=next#746d244004e23764294b23519f6f8be1002c1ceb"
dependencies = [ dependencies = [
"async-broadcast", "async-broadcast",
"async-oneshot", "async-oneshot",
@ -2158,7 +2158,7 @@ dependencies = [
[[package]] [[package]]
name = "relm4-macros" name = "relm4-macros"
version = "0.5.0-beta.1" version = "0.5.0-beta.1"
source = "git+https://github.com/Relm4/Relm4.git?branch=next#746d244004e23764294b23519f6f8be1002c1ceb" source = "git+https://github.com/relm4/relm4?branch=next#746d244004e23764294b23519f6f8be1002c1ceb"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View file

@ -214,7 +214,7 @@ impl Dispatch<wl_registry::WlRegistry, ()> for State {
.unwrap(); .unwrap();
state.toplevel_manager = Some(tm); state.toplevel_manager = Some(tm);
} }
"zcosmic_toplevel_manager_v1" => { "zcosmic_workspace_manager_v1" => {
let workspace_manager = registry let workspace_manager = registry
.bind::<ZcosmicWorkspaceManagerV1, _, _>( .bind::<ZcosmicWorkspaceManagerV1, _, _>(
name, name,
@ -274,6 +274,7 @@ impl Dispatch<ZcosmicToplevelManagerV1, ()> for State {
_: &Connection, _: &Connection,
_: &QueueHandle<Self>, _: &QueueHandle<Self>,
) { ) {
match event { match event {
zcosmic_toplevel_manager_v1::Event::Capabilities { .. } => { zcosmic_toplevel_manager_v1::Event::Capabilities { .. } => {
// TODO capabilities affect what is shown to user in applet // TODO capabilities affect what is shown to user in applet