mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 18:41:56 +03:00
linux: Fix crash in Wayland when dragging and dropping a tab not belonging to Zed (#14995)
close #14189 Release Notes: - N/A
This commit is contained in:
parent
ddea18d546
commit
eb210ca248
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user