mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 10:51:00 +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
|
@ -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>
|
Wed Dec 22 5:24:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/NSPanel.m: Fixed image display in alert panel.
|
* Source/NSPanel.m: Fixed image display in alert panel.
|
||||||
|
|
|
@ -2055,6 +2055,7 @@ resetCursorRectsForView(NSView *theView)
|
||||||
@selector(draggingExited:), dragInfo,
|
@selector(draggingExited:), dragInfo,
|
||||||
action);
|
action);
|
||||||
}
|
}
|
||||||
|
_lastDragView = nil;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GSAppKitDraggingDrop:
|
case GSAppKitDraggingDrop:
|
||||||
|
@ -2077,6 +2078,7 @@ resetCursorRectsForView(NSView *theView)
|
||||||
dragInfo);
|
dragInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
_lastDragView = nil;
|
||||||
e = [NSEvent otherEventWithType: NSAppKitDefined
|
e = [NSEvent otherEventWithType: NSAppKitDefined
|
||||||
location: [theEvent locationInWindow]
|
location: [theEvent locationInWindow]
|
||||||
modifierFlags: 0
|
modifierFlags: 0
|
||||||
|
@ -2090,6 +2092,7 @@ resetCursorRectsForView(NSView *theView)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GSAppKitDraggingFinished:
|
case GSAppKitDraggingFinished:
|
||||||
|
_lastDragView = nil;
|
||||||
NSLog(@"Internal: dropped GSAppKitDraggingFinished event\n");
|
NSLog(@"Internal: dropped GSAppKitDraggingFinished event\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue