From 5075877659aad094fff0f88ee5a41042d76aecd5 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Tue, 21 Jul 2009 14:36:56 +0200 Subject: [PATCH] Bug 445567 - Disable Cocoa cursor rect handling completely. We don't need it and it messes with our mouse cursor when native view geometry changes. r=smichaud, r=josh --- widget/src/cocoa/nsCocoaWindow.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/widget/src/cocoa/nsCocoaWindow.mm b/widget/src/cocoa/nsCocoaWindow.mm index 5b29f53f3d2c..7f85fb42be76 100644 --- a/widget/src/cocoa/nsCocoaWindow.mm +++ b/widget/src/cocoa/nsCocoaWindow.mm @@ -393,6 +393,7 @@ nsresult nsCocoaWindow::CreateNativeWindow(const nsIntRect &aRect, [mWindow setBackgroundColor:[NSColor whiteColor]]; [mWindow setContentMinSize:NSMakeSize(60, 60)]; + [mWindow disableCursorRects]; // setup our notification delegate. Note that setDelegate: does NOT retain. mDelegate = [[WindowDelegate alloc] initWithGeckoWindow:this];