chore: adapt to changes in libcosmic
This commit is contained in:
parent
b933e538c0
commit
e01b16f4a2
16 changed files with 51 additions and 80 deletions
|
|
@ -55,7 +55,7 @@ pub enum Message {
|
|||
WorkspaceUpdate(WorkspacesUpdate),
|
||||
NewWorkspace(Entity),
|
||||
OpenSettings,
|
||||
Surface(surface::Action),
|
||||
Surface(surface::Action<Message>),
|
||||
}
|
||||
|
||||
impl cosmic::Application for Window {
|
||||
|
|
@ -234,9 +234,7 @@ impl cosmic::Application for Window {
|
|||
tokio::spawn(cosmic::process::spawn(cmd));
|
||||
}
|
||||
Message::Surface(a) => {
|
||||
return cosmic::task::message(cosmic::Action::Cosmic(
|
||||
cosmic::app::Action::Surface(a),
|
||||
));
|
||||
return cosmic::task::message(cosmic::Action::Surface(a));
|
||||
}
|
||||
}
|
||||
Task::none()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue