Set _lastPoint after update the cursor in NSWindow.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37213 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2013-10-09 18:52:39 +00:00
parent 3e533f43b1
commit a0f6ce809f
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-10-09 German Arias <germanandre@gmx.es>
* NSWindow.m (-sendEvent:): Set _lastPoint after update the cursor.
2013-10-08 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSThemeDrawing.m:

View file

@ -4064,6 +4064,10 @@ checkCursorRectanglesExited(NSView *theView, NSEvent *theEvent, NSPoint lastPoi
{
[c mouseExited: theEvent];
}
/* This could seems redundant, but ensure the correct value to use
* in events mouse moved. And avoids strange issues with cursor. */
_lastPoint = [theEvent locationInWindow];
}
break;