1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00

cocoa: fix build on 10.9

Use -isInFullScreenMode instead of the property introduced with the 10.10 SDK.
This commit is contained in:
Stefano Pigozzi 2015-01-02 20:52:46 +01:00
parent 03a0d74da7
commit 9633790ac6

View File

@ -94,7 +94,7 @@
- (void)clear
{
if (self.inFullScreenMode) {
if ([self isInFullScreenMode]) {
self.clearing = YES;
[self exitFullScreenModeWithOptions:nil];
}