Simplify new drag/drop API

Fixes #9466
This commit is contained in:
copilot-swe-agent[bot]
2026-02-03 15:24:44 +00:00
committed by Kovid Goyal
parent c0bb8ae2a0
commit fac4420804
13 changed files with 365 additions and 154 deletions

View File

@@ -170,6 +170,11 @@ typedef struct _GLFWwindowNS
// Current drag operation type for NSDraggingSource
GLFWDragOperationType dragOperationType;
// Cached MIME types from drag enter (for move events)
const char** dragMimes;
int dragMimeCount; // Current count of MIME types (may be reduced by callback)
int dragMimeArraySize; // Original array size for proper cleanup
} _GLFWwindowNS;
// Cocoa-specific global data