mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 13:41:55 +00:00
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:
parent
ddbcf53054
commit
f96885c63e
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2013-10-08 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Source/GSThemeDrawing.m:
|
* Source/GSThemeDrawing.m:
|
||||||
|
|
|
@ -4064,6 +4064,10 @@ checkCursorRectanglesExited(NSView *theView, NSEvent *theEvent, NSPoint lastPoi
|
||||||
{
|
{
|
||||||
[c mouseExited: theEvent];
|
[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;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue