mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +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
1c25d7e977
commit
d755437127
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue