From 6f5ac9f34220126fec65f25b19e9b4ca2e49ec6d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 6 May 2026 10:33:13 +0000 Subject: [PATCH] Fix macOS drag MOVE events: check mimes_count not drag_accepted in draggingUpdated Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/c5e95934-f4e3-4ba9-8b12-5240a853fd3a Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com> --- 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 d1f317618..49d477a8e 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -1590,7 +1590,7 @@ reset_drop_copy_mimes(_GLFWDropData *d) { - (NSDragOperation)draggingUpdated:(id )sender { - if (!window->ns.drop_data.drag_accepted) return NSDragOperationNone; + if (!window->ns.drop_data.mimes_count) return NSDragOperationNone; const NSRect contentRect = [window->ns.view frame]; const NSPoint pos = [sender draggingLocation]; double xpos = pos.x;