summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2015-01-02 20:52:46 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2015-01-02 20:54:09 +0100
commit9633790ac6470bdb050848512f647c013d50df8a (patch)
tree3f1e2302c51779569335598621b10d7018613de2 /video/out/cocoa/events_view.m
parent03a0d74da79c89ca6357fe4e44b53332d8f14501 (diff)
downloadmpv-9633790ac6470bdb050848512f647c013d50df8a.tar.bz2
mpv-9633790ac6470bdb050848512f647c013d50df8a.tar.xz
cocoa: fix build on 10.9
Use -isInFullScreenMode instead of the property introduced with the 10.10 SDK.
Diffstat (limited to 'video/out/cocoa/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index 6a0190e21c..620de19f84 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -94,7 +94,7 @@
- (void)clear
{
- if (self.inFullScreenMode) {
+ if ([self isInFullScreenMode]) {
self.clearing = YES;
[self exitFullScreenModeWithOptions:nil];
}