Fix / work around issue with drag surface not being destroyed

This commit is contained in:
Ian Douglas Scott 2024-03-06 16:09:58 -08:00
parent 5e290acbee
commit b554dc3177

View file

@ -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());