fix: handling of surface action
This commit is contained in:
parent
2a939e5a11
commit
619550cf61
9 changed files with 45 additions and 9 deletions
|
|
@ -209,7 +209,11 @@ impl cosmic::Application for IcedWorkspacesApplet {
|
|||
Message::WorkspaceOverview => {
|
||||
let _ = ShellCommand::new("cosmic-workspaces").spawn();
|
||||
}
|
||||
Message::Surface(surface_message) => unreachable!(),
|
||||
Message::Surface(a) => {
|
||||
return cosmic::task::message(cosmic::Action::Cosmic(
|
||||
cosmic::app::Action::Surface(a),
|
||||
));
|
||||
}
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue