Skip to content

Commit

Permalink
Fix / work around issue with drag surface not being destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Mar 7, 2024
1 parent 5e290ac commit b554dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ impl Application for App {
Msg::DndWorkspaceLeave => {
// XXX Doesn't work since leave for a widget may come after enter for another
// self.drop_target = None;
// return accept_mime_type(None);
return accept_mime_type(None);
}
Msg::DndWorkspaceDrop => {
return request_dnd_data(TOPLEVEL_MIME.to_string());
Expand Down

0 comments on commit b554dc3

Please sign in to comment.