From 372d2008a6395f60f5c3572459c54ebb72880404 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 19 Mar 2020 13:40:02 +0530 Subject: [PATCH] Actually, we should use text/plain rather than text/uri-list since we are already converting to filesystem paths --- glfw/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 9623e2a3e..b343a917e 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -1164,7 +1164,7 @@ - (BOOL)performDragOperation:(id )sender id obj = objs[i]; if ([obj isKindOfClass:[NSURL class]]) { const char *path = [obj fileSystemRepresentation]; - _glfwInputDrop(window, "text/uri-list", path, strlen(path)); + _glfwInputDrop(window, "text/plain;charset=utf-8", path, strlen(path)); } else if ([obj isKindOfClass:[NSString class]]) { const char *text = [obj UTF8String]; _glfwInputDrop(window, "text/plain;charset=utf-8", text, strlen(text));