(_handleEventDuringDragging:,

_updateAndMoveImageToCorrectPosition, _xWindowAcceptingDnDunderX:Y:,
_xWindowAcceptingDnDDescendentOf:underX:Y:)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2003-06-17 13:33:39 +00:00
parent fa57acf1d3
commit d4d85dcf7b

View file

@ -728,9 +728,9 @@ static XGDragView *sharedDragView = nil;
case GSAppKitDraggingStatus: case GSAppKitDraggingStatus:
NSDebugLLog(@"NSDragging", @"got GSAppKitDraggingStatus\n"); NSDebugLLog(@"NSDragging", @"got GSAppKitDraggingStatus\n");
if ([theEvent data1] == targetWindow) if ((Window)[theEvent data1] == targetWindow)
{ {
int newTargetMask = [theEvent data2]; unsigned int newTargetMask = [theEvent data2];
if (newTargetMask != targetMask) if (newTargetMask != targetMask)
{ {
@ -877,7 +877,7 @@ static XGDragView *sharedDragView = nil;
// //
if (oldDragExternal != dragExternal) if (oldDragExternal != dragExternal)
{ {
int newMask; unsigned int newMask;
newMask = [dragSource draggingSourceOperationMaskForLocal: dragExternal]; newMask = [dragSource draggingSourceOperationMaskForLocal: dragExternal];
if (newMask != dragMask) if (newMask != dragMask)
@ -1122,7 +1122,7 @@ static XGDragView *sharedDragView = nil;
result = [self _xWindowAcceptingDnDDescendentOf: child result = [self _xWindowAcceptingDnDDescendentOf: child
underX: x underX: x
Y: y]; Y: y];
if (result != -1) if (result != (Window)-1)
break; break;
} }
} }
@ -1152,7 +1152,7 @@ static XGDragView *sharedDragView = nil;
result = [self _xWindowAcceptingDnDDescendentOf: dragWindev->root result = [self _xWindowAcceptingDnDDescendentOf: dragWindev->root
underX: x underX: x
Y: y]; Y: y];
if (result == -1) if (result == (Window)-1)
return None; return None;
else else
return result; return result;