when resetting tracking rect, don't assume we're inside. check if we're

inside by looking at if we accept mouseMoves (turned on/off by mouseEnter/Exit) (bug 218690)
This commit is contained in:
pinkerton%aol.net 2004-05-07 23:46:57 +00:00
Родитель 6b1a9d1b08
Коммит 55f29308b2
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -2317,7 +2317,8 @@ nsChildView::Idle()
[self removeTrackingRect:mMouseEnterExitTag];
mMouseEnterExitTag = [self addTrackingRect:[self bounds] owner:self
userData:nil assumeInside: YES];
userData:nil assumeInside: [[self window]
acceptsMouseMovedEvents]];
}
@ -2390,7 +2391,8 @@ nsChildView::Idle()
mGeckoChild->AddedToWindow();
mMouseEnterExitTag = [self addTrackingRect:[self bounds] owner:self
userData:nil assumeInside: YES];
userData:nil assumeInside: [[self window]
acceptsMouseMovedEvents]];
}
- (void)viewWillStartLiveResize