mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-04 09:27:15 +00:00
Get rid of another compile-time define
This commit is contained in:
parent
9324f257fc
commit
c9c46b8060
@ -162,14 +162,20 @@ static char** waiting_argv;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
#ifndef NSWindowCollectionBehaviorFullScreenPrimary
|
||||
#define NSWindowCollectionBehaviorFullScreenPrimary (1 << 7)
|
||||
#endif
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
|
||||
{
|
||||
unsigned i;
|
||||
apple_platform = self;
|
||||
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
||||
[self.window setCollectionBehavior:[self.window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary];
|
||||
#endif
|
||||
SEL selector = NSSelectorFromString(BOXSTRING("setCollectionBehavior:"));
|
||||
apple_platform = self;
|
||||
|
||||
if ([self.window respondsToSelector:selector])
|
||||
{
|
||||
[self.window setCollectionBehavior:[self.window collectionBehavior] | NSWindowCollectionBehaviorFullScreenPrimary];
|
||||
}
|
||||
|
||||
[self.window setAcceptsMouseMovedEvents: YES];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user