mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
macOS revert fullscreen changes (#3304)
* macOS remove NSWindow subclass as discussed in #3297
This commit is contained in:
@@ -202,8 +202,8 @@
|
||||
|
||||
self.window.restorationClass = [self class];
|
||||
|
||||
//make window an auxillary view in fullscreen
|
||||
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
|
||||
//disable fullscreen support
|
||||
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone];
|
||||
|
||||
NSToolbar* toolbar = [[NSToolbar alloc] initWithIdentifier:@"Preferences Toolbar"];
|
||||
toolbar.delegate = self;
|
||||
|
||||
Reference in New Issue
Block a user