From 0b9bc6f1809750692a1c6ad2225677643a1c0376 Mon Sep 17 00:00:00 2001 From: der richter Date: Tue, 17 Dec 2019 23:48:13 +0100 Subject: cocoa-cb: report fullscreen state for legacy fullscreen report the fs screen state when the fullscreen is externally triggered for the legacy fullscreen. --- video/out/cocoa-cb/window.swift | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') 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() } -- cgit v1.2.3