From fde867884cc458250dc2d7dd0f46e06e3621e9d9 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Wed, 13 Feb 2002 23:04:38 +0000 Subject: [PATCH] Speeding up cocoa by increasing the frequency of the timer. Not part of build. --- widget/src/cocoa/nsToolkit.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/cocoa/nsToolkit.mm b/widget/src/cocoa/nsToolkit.mm index 4f4bd3a56582..8e8f40ebad13 100644 --- a/widget/src/cocoa/nsToolkit.mm +++ b/widget/src/cocoa/nsToolkit.mm @@ -96,7 +96,7 @@ static PRUintn gToolkitTLSIndex = 0; mEventQueueService = service.get(); NS_IF_ADDREF(mEventQueueService); - mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(eventTimer:) userInfo:nil + mEventTimer = [NSTimer scheduledTimerWithTimeInterval:0.01 target:self selector:@selector(eventTimer:) userInfo:nil repeats:YES]; NS_ASSERTION(mEventTimer, "UH OH! couldn't create periodic event processing timer");