diff --git a/src/browser/native_window_mac.mm b/src/browser/native_window_mac.mm index a5fb580261..fe3e4a3884 100644 --- a/src/browser/native_window_mac.mm +++ b/src/browser/native_window_mac.mm @@ -634,7 +634,13 @@ - (void)drawRect:(NSRect)dirtyRect { } void NativeWindowCocoa::SetVisibleOnAllWorkspaces(bool all_workspaces) { - // @TODO @mrfabbri NOT IMPLEMENTED + NSUInteger collectionBehavior = [window() collectionBehavior]; + if (all_workspaces) { + collectionBehavior |= NSWindowCollectionBehaviorCanJoinAllSpaces; + } else { + collectionBehavior &= ~NSWindowCollectionBehaviorCanJoinAllSpaces; + } + [window() setCollectionBehavior:collectionBehavior]; } void NativeWindowCocoa::SetShowInTaskbar(bool show) {