mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
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:
parent
db7974064c
commit
2b448fe8a2
4 changed files with 12 additions and 21 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue