mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Port Cocoa drag source backend to new API
This commit is contained in:
7
glfw/cocoa_platform.h
vendored
7
glfw/cocoa_platform.h
vendored
@@ -178,12 +178,6 @@ typedef struct _GLFWwindowNS
|
||||
// Cached MIME types from drag enter (for move events)
|
||||
_GLFWDropData drop_data;
|
||||
|
||||
// Pending drag source data requests (for cleanup on cancellation)
|
||||
// Current drag operation type for NSDraggingSource
|
||||
int dragOperations; // Bitfield of GLFWDragOperationType
|
||||
GLFWDragSourceData** pendingDragSourceData;
|
||||
int pendingDragSourceDataCount;
|
||||
int pendingDragSourceDataCapacity;
|
||||
} _GLFWwindowNS;
|
||||
|
||||
// Cocoa-specific global data
|
||||
@@ -221,7 +215,6 @@ typedef struct _GLFWlibraryNS
|
||||
|
||||
// the callback to handle url open events
|
||||
GLFWhandleurlopen url_open_callback;
|
||||
|
||||
} _GLFWlibraryNS;
|
||||
|
||||
// Cocoa-specific per-monitor data
|
||||
|
||||
Reference in New Issue
Block a user