Handle remaining problems with cursor rects.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23041 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2006-06-09 17:33:11 +00:00
parent db7974064c
commit 2b448fe8a2
4 changed files with 12 additions and 21 deletions

View file

@ -2629,7 +2629,7 @@ Returns YES iff any scrolling was done.
if (count > 0)
{
GSTrackingRect *rects[count];
NSPoint loc = [_window mouseLocationOutsideOfEventStream];
NSPoint loc = ((struct NSWindow_struct *)_window)->_lastPoint;
unsigned i;
[_cursor_rects getObjects: rects];
@ -2639,7 +2639,7 @@ Returns YES iff any scrolling was done.
GSTrackingRect *r = rects[i];
if (NSMouseInRect(loc, r->rectangle, NO))
{
[[r owner] mouseExited: nil];
[r->owner mouseExited: nil];
}
[r invalidate];
}