From d4d85dcf7bfae6ddf7a4bc1d898bca5e1e893f5e Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Tue, 17 Jun 2003 13:33:39 +0000 Subject: [PATCH] (_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 --- Source/x11/XGDragView.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/x11/XGDragView.m b/Source/x11/XGDragView.m index 1c05e3b..1fcd938 100644 --- a/Source/x11/XGDragView.m +++ b/Source/x11/XGDragView.m @@ -728,9 +728,9 @@ static XGDragView *sharedDragView = nil; case GSAppKitDraggingStatus: 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) { @@ -877,7 +877,7 @@ static XGDragView *sharedDragView = nil; // if (oldDragExternal != dragExternal) { - int newMask; + unsigned int newMask; newMask = [dragSource draggingSourceOperationMaskForLocal: dragExternal]; if (newMask != dragMask) @@ -1122,7 +1122,7 @@ static XGDragView *sharedDragView = nil; result = [self _xWindowAcceptingDnDDescendentOf: child underX: x Y: y]; - if (result != -1) + if (result != (Window)-1) break; } } @@ -1152,7 +1152,7 @@ static XGDragView *sharedDragView = nil; result = [self _xWindowAcceptingDnDDescendentOf: dragWindev->root underX: x Y: y]; - if (result == -1) + if (result == (Window)-1) return None; else return result;