diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-12 23:33:38 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-12 23:37:25 +0200 |
commit | 63494cf5c9157db76e57ccddb241d759b716813f (patch) | |
tree | adc5622ac7bca749097c89a37e64d5697480f0ad | |
parent | 252a590c6a3ffbd44952c88f217f0ab22406b449 (diff) |
SL-12456 Potential fix for NSPersistentUIFileManager crash
NSPersistentUIFileManager is supposed to be responsible for restoring window position and size
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index 5ec9b017cf..3693042eef 100644 --- a/indra/llwindow/llwindowmacosx-objc.mm +++ b/indra/llwindow/llwindowmacosx-objc.mm @@ -217,6 +217,7 @@ NSWindowRef createNSWindow(int x, int y, int width, int height) styleMask:NSTitledWindowMask | NSResizableWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSTexturedBackgroundWindowMask backing:NSBackingStoreBuffered defer:NO]; [window makeKeyAndOrderFront:nil]; [window setAcceptsMouseMovedEvents:TRUE]; + [window setRestorable:FALSE]; // Viewer manages state from own settings return window; } |