mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:50: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
385814e1eb
commit
ea78ff53a9
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Wed Dec 22 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSWindow.m: ([-sendEvent:]) reset _lastDragView on exit from
|
||||
a view or on completion of dragging operation. This ensures that if
|
||||
you do two drags into the same view, the view gets two draggingEntered
|
||||
messages (one for each session).
|
||||
|
||||
Wed Dec 22 5:24:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSPanel.m: Fixed image display in alert panel.
|
||||
|
|
|
@ -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