mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:30:38 +00:00
Minor DnD fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5607 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3eed0b00ea
commit
abb119e561
2 changed files with 10 additions and 0 deletions
|
@ -2055,6 +2055,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
@selector(draggingExited:), dragInfo,
|
||||
action);
|
||||
}
|
||||
_lastDragView = nil;
|
||||
break;
|
||||
|
||||
case GSAppKitDraggingDrop:
|
||||
|
@ -2077,6 +2078,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
dragInfo);
|
||||
}
|
||||
}
|
||||
_lastDragView = nil;
|
||||
e = [NSEvent otherEventWithType: NSAppKitDefined
|
||||
location: [theEvent locationInWindow]
|
||||
modifierFlags: 0
|
||||
|
@ -2090,6 +2092,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
break;
|
||||
|
||||
case GSAppKitDraggingFinished:
|
||||
_lastDragView = nil;
|
||||
NSLog(@"Internal: dropped GSAppKitDraggingFinished event\n");
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue