Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

linux: Fix crash in Wayland when dragging and dropping a tab not belonging to Zed (#14995)

CharlesChen0823eb210ca248c0
diff --git a/crates/gpui/src/platform/linux/wayland/client.rs b/crates/gpui/src/platform/linux/wayland/client.rs
index 73afc5b97ed..c88f0ff7612 100644
--- a/crates/gpui/src/platform/linux/wayland/client.rs
+++ b/crates/gpui/src/platform/linux/wayland/client.rs
@@ -1803,7 +1803,6 @@ impl Dispatch<wl_data_device::WlDataDevice, ()> for WaylandClientStatePtr {
// Prevent dropping text from other programs.
if paths.is_empty() {
- data_offer.finish();
data_offer.destroy();
return;
}