Fix dnd from remote to finder on macOS

This commit is contained in:
Kovid Goyal
2026-05-15 10:00:38 +05:30
parent 2a903c724c
commit 35cd3d37f2
2 changed files with 5 additions and 3 deletions

View File

@@ -4773,7 +4773,7 @@ _glfwPlatformStartDrag(_GLFWwindow* window, const GLFWimage* thumbnail) {@autore
[fileManager removeItemAtURL:url error:&error];
return;
}
file_handle = fileHandle;
file_handle = [fileHandle retain];
completion_handler = Block_copy(completionHandler);
file_url = [url retain];
[self request_drag_data];