--- chimera/BrowserWindowController.mm 2002/02/21 08:59:58 1.34 +++ chimera/BrowserWindowController.mm 2002/02/22 02:13:42 1.35 @@ -21,9 +21,22 @@ static NSString *PrintToolbarItemIdentif @implementation BrowserWindowController +-(void)mouseMoved:(NSEvent*)aEvent +{ + if (mMoveReentrant) + return; + + mMoveReentrant = YES; + NSView* view = [[[self window] contentView] hitTest: [aEvent locationInWindow]]; + [view mouseMoved: aEvent]; + [super mouseMoved: aEvent]; + mMoveReentrant = NO; +} + - (id)init { mInitialized = NO; + mMoveReentrant = NO; return [super init]; } @@ -45,6 +58,8 @@ static NSString *PrintToolbarItemIdentif - (void)windowDidLoad { + [super windowDidLoad]; + mInitialized = YES; [[self window] setAcceptsMouseMovedEvents: YES];