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