mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
re-add macOS Fullscreen support (#3261)
* re-add macOS Fullscreen support re added Full Screen support for macOS. Also refactored window methods in Controller.mm and moved to their own category - ControllerWindowMethods.mm This has currently only been tested on macOS Monterey, and should be good on earlier versions - but perhaps needs testing on earlier versions of macOS. fixes #3231 #3234
This commit is contained in:
@@ -202,6 +202,9 @@
|
||||
|
||||
self.window.restorationClass = [self class];
|
||||
|
||||
//make window an auxillary view in fullscreen
|
||||
[self.window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
|
||||
|
||||
NSToolbar* toolbar = [[NSToolbar alloc] initWithIdentifier:@"Preferences Toolbar"];
|
||||
toolbar.delegate = self;
|
||||
toolbar.allowsUserCustomization = NO;
|
||||
|
||||
Reference in New Issue
Block a user