mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
iiiignore invalid tracking rectangles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27665 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d983415d4d
commit
e2011f6fb3
2 changed files with 7 additions and 0 deletions
|
@ -3275,6 +3275,8 @@ resetCursorRectsForView(NSView *theView)
|
|||
BOOL now;
|
||||
GSTrackingRect *r = rects[i];
|
||||
|
||||
if ([r isValid] == NO)
|
||||
continue;
|
||||
/* Check mouse at last point */
|
||||
last = NSMouseInRect(_lastPoint, r->rectangle, NO);
|
||||
/* Check mouse at current point */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue