diff options
Diffstat (limited to 'video/out/mac/window.swift')
-rw-r--r-- | video/out/mac/window.swift | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/video/out/mac/window.swift b/video/out/mac/window.swift index a418f2ce75..8bff330866 100644 --- a/video/out/mac/window.swift +++ b/video/out/mac/window.swift @@ -278,6 +278,14 @@ class Window: NSWindow, NSWindowDelegate { } } + func setOnAllWorkspaces(_ state: Bool) { + if state { + collectionBehavior.insert(.canJoinAllSpaces) + } else { + collectionBehavior.remove(.canJoinAllSpaces) + } + } + func setMinimized(_ stateWanted: Bool) { if isMiniaturized == stateWanted { return } |