summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa-cb/window.swift
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-17 23:18:17 +0100
committerwm4 <wm4@nowhere>2019-12-17 23:18:17 +0100
commit2a4d7c4aa866c300bd538bd8eb14bb714bda9bce (patch)
treeecc160366f06512549512467186837783447ca81 /video/out/cocoa-cb/window.swift
parent13dff3073d85a4288ee317680fc44b9dc4ca096d (diff)
downloadmpv-2a4d7c4aa866c300bd538bd8eb14bb714bda9bce.tar.bz2
mpv-2a4d7c4aa866c300bd538bd8eb14bb714bda9bce.tar.xz
command, vo: remove old option change notification mechanisms
These all have been replaced recently. There was a leftover in window.swift. It couldn't have done anything useful in the current state of the code, so drop these lines.
Diffstat (limited to 'video/out/cocoa-cb/window.swift')
-rw-r--r--video/out/cocoa-cb/window.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/cocoa-cb/window.swift b/video/out/cocoa-cb/window.swift
index 6e53ef309c..42aa23a6d7 100644
--- a/video/out/cocoa-cb/window.swift
+++ b/video/out/cocoa-cb/window.swift
@@ -230,7 +230,6 @@ class Window: NSWindow, NSWindowDelegate {
setFrame(targetFrame, display: true)
endAnimation()
isInFullscreen = true
- cocoaCB.flagEvents(VO_EVENT_FULLSCREEN_STATE)
cocoaCB.layer?.update()
}
@@ -242,7 +241,6 @@ class Window: NSWindow, NSWindowDelegate {
styleMask.remove(.fullScreen)
endAnimation()
isInFullscreen = false
- cocoaCB.flagEvents(VO_EVENT_FULLSCREEN_STATE)
cocoaCB.layer?.update()
}