diff options
author | der richter <der.richter@gmx.de> | 2019-12-17 23:48:13 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2019-12-17 23:48:13 +0100 |
commit | 0b9bc6f1809750692a1c6ad2225677643a1c0376 (patch) | |
tree | cf9d4b43a5164039002246c49cdb4651b313d223 /video/out | |
parent | 2a4d7c4aa866c300bd538bd8eb14bb714bda9bce (diff) | |
download | mpv-0b9bc6f1809750692a1c6ad2225677643a1c0376.tar.bz2 mpv-0b9bc6f1809750692a1c6ad2225677643a1c0376.tar.xz |
cocoa-cb: report fullscreen state for legacy fullscreen
report the fs screen state when the fullscreen is externally triggered
for the legacy fullscreen.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/cocoa-cb/window.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/cocoa-cb/window.swift b/video/out/cocoa-cb/window.swift index 42aa23a6d7..90438591ab 100644 --- a/video/out/cocoa-cb/window.swift +++ b/video/out/cocoa-cb/window.swift @@ -230,6 +230,7 @@ class Window: NSWindow, NSWindowDelegate { setFrame(targetFrame, display: true) endAnimation() isInFullscreen = true + cocoaCB.mpv?.setConfigProperty(fullscreen: isInFullscreen) cocoaCB.layer?.update() } @@ -241,6 +242,7 @@ class Window: NSWindow, NSWindowDelegate { styleMask.remove(.fullScreen) endAnimation() isInFullscreen = false + cocoaCB.mpv?.setConfigProperty(fullscreen: isInFullscreen) cocoaCB.layer?.update() } |