Better handling of generic drag window loaction update.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19553 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-06-19 15:27:03 +00:00
parent c5023b12e4
commit 58a073e7c5
2 changed files with 6 additions and 0 deletions

View file

@ -748,6 +748,7 @@ static GSDragView *sharedDragView = nil;
}
break;
case NSPeriodic:
newPosition = [NSEvent mouseLocation];
if (newPosition.x != dragPosition.x || newPosition.y != dragPosition.y)
{
[self _updateAndMoveImageToCorrectPosition];