mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 17:00:52 +00:00
(_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:
parent
fa57acf1d3
commit
d4d85dcf7b
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue