summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-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];
}