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:
Richard Frith-MacDonald 2009-01-24 08:38:21 +00:00
parent 1c25d7e977
commit d755437127
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ignore invalid rects when checking
tracking rectangles.
2009-01-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m: Convert between the window and the view

View file

@ -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 */