mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Merge branch 'copilot/fix-drag-hover-drop-events' of https://github.com/kovidgoyal/kitty
This commit is contained in:
@@ -1590,7 +1590,7 @@ reset_drop_copy_mimes(_GLFWDropData *d) {
|
||||
|
||||
- (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)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;
|
||||
|
||||
Reference in New Issue
Block a user