summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/cocoa_common.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index b561ca892b..58cc1dacf8 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -635,7 +635,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
popts |= NSApplicationPresentationAutoHideDock;
NSDictionary *fsopts = @{
- NSFullScreenModeWindowLevel : @(NSFloatingWindowLevel),
+ NSFullScreenModeWindowLevel : @(s->window_level),
NSFullScreenModeAllScreens : @NO,
NSFullScreenModeApplicationPresentationOptions : @(popts)
};