window: macos: disable window restoration
This commit is contained in:
1 parent
a44607fb3f
commit
3d760653b4
1 file changed
+1
@@ -416,6 +416,7 @@ impl Window {
|
||||
|
||||
// Prevent Cocoa native tabs from being used
|
||||
let _: () = msg_send![*window, setTabbingMode:2 /* NSWindowTabbingModeDisallowed */];
|
||||
let _: () = msg_send![*window, setRestorable:NO];
|
||||
|
||||
window.setReleasedWhenClosed_(NO);
|
||||
let ns_color: id = msg_send![Class::get("NSColor").unwrap(), alloc];
|
||||
|
||||
Reference in new issue
Block a user