зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
4ba23153a9
Коммит
5075877659
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче