diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/mac/common.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/mac/common.swift b/video/out/mac/common.swift index e27d17d621..20718b169a 100644 --- a/video/out/mac/common.swift +++ b/video/out/mac/common.swift @@ -441,7 +441,7 @@ class Common: NSObject { videoOut vo: UnsafeMutablePointer<vo>) -> NSRect { let r = targetScreen.convertRectToBacking(targetScreen.frame) let targetFrame = - (mpv?.macOpts.macos_geometry_calculation ?? FRAME_VISIBLE) == FRAME_VISIBLE ? + (mpv?.macOpts.macos_geometry_calculation ?? Int32(FRAME_VISIBLE)) == FRAME_VISIBLE ? targetScreen.visibleFrame : targetScreen.frame let rv = targetScreen.convertRectToBacking(targetFrame) |