Fixed GSAppKitDraggingDrop event to have a valid location

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29617 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2010-02-14 12:15:05 +00:00
parent 13b071dd72
commit 929688850f
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-02-14 Quentin Mathe <quentin.mathe@gmail.com>
* Source/GSDragView.m (-_handleDrag:slidePoint:): Fixed to create a
GSAppKitDraggingDrop event with a valid location.
2010-02-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMenu.m: Make the background color of NSMenuPanel clear

View file

@ -693,7 +693,7 @@ static GSDragView *sharedDragView = nil;
{
[self _sendLocalEvent: GSAppKitDraggingDrop
action: 0
position: NSZeroPoint
position: dragPosition
timestamp: [theEvent timestamp]
toWindow: destWindow];
}
@ -701,7 +701,7 @@ static GSDragView *sharedDragView = nil;
{
[self sendExternalEvent: GSAppKitDraggingDrop
action: 0
position: NSZeroPoint
position: dragPosition
timestamp: [theEvent timestamp]
toWindow: targetWindowRef];
}