зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6b1a9d1b08
Коммит
55f29308b2
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче