Update dependencies

This commit is contained in:
Ian Douglas Scott 2023-07-20 14:48:36 -07:00
parent f8a3c4ba55
commit c98b48586f
2 changed files with 175 additions and 110 deletions

View file

@ -596,10 +596,12 @@ fn workspace_sidebar_entry<'a>(
output_name: &'a str,
) -> cosmic::Element<'a, Msg> {
widget::dnd_source(workspace_item(workspace, output_name))
.on_drag(Msg::StartDrag(DragSurface::Workspace {
name: workspace.name.to_string(),
output_name: output_name.to_string(),
}))
.on_drag(|_| {
Msg::StartDrag(DragSurface::Workspace {
name: workspace.name.to_string(),
output_name: output_name.to_string(),
})
})
.on_finished(Msg::SourceFinished)
.on_cancelled(Msg::SourceFinished)
.into()