Get rid of this compile-time ifdef

This commit is contained in:
Twinaphex 2018-08-31 19:29:11 +02:00
parent a58511ec00
commit 832bf6d6e8

View File

@ -251,9 +251,7 @@ static char** waiting_argv;
{
unsigned i;
apple_platform = self;
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
self.window.collectionBehavior = NSWindowCollectionBehaviorFullScreenPrimary;
#else
SEL selector = NSSelectorFromString(BOXSTRING("setCollectionBehavior:"));
SEL fsselector = NSSelectorFromString(BOXSTRING("toggleFullScreen:"));
@ -262,7 +260,6 @@ static char** waiting_argv;
if ([self.window respondsToSelector:fsselector])
[self.window setCollectionBehavior:NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY];
}
#endif
_listener = [WindowListener new];