diff options
Diffstat (limited to 'video')
-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 55c0fa1688..25f144a38e 100644 --- a/video/out/cocoa-cb/window.swift +++ b/video/out/cocoa-cb/window.swift @@ -301,6 +301,7 @@ class Window: NSWindow, NSWindowDelegate { let cRect = frameRect(forContentRect: rect) unfsContentFrame = rect setFrame(cRect, display: true) + cocoaCB.layer?.update(force: true) } } @@ -464,6 +465,7 @@ class Window: NSWindow, NSWindowDelegate { } if currentScreen != screen { cocoaCB.updateDisplaylink() + cocoaCB.layer?.update(force: true) } currentScreen = screen } |