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

This commit is contained in:
Markus Stange 2009-07-21 14:36:56 +02:00
Родитель 4ba23153a9
Коммит 5075877659
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -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];