mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
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:
parent
c5023b12e4
commit
58a073e7c5
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse
|
||||
location on periodic event.
|
||||
|
||||
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue