feat: allow window above full screen windows on mac (#14122)
* allow window above full screen windows on mac * add visibility change params to higher level files * adress feedback, fix bool issue, remove compilation hooks * adjust readme * switch to options object * single argument for native window views
This commit is contained in:
parent
c3d51bc2fe
commit
b89848d683
8 changed files with 27 additions and 9 deletions
|
@ -1132,8 +1132,11 @@ void NativeWindowMac::SetProgressBar(double progress,
|
|||
void NativeWindowMac::SetOverlayIcon(const gfx::Image& overlay,
|
||||
const std::string& description) {}
|
||||
|
||||
void NativeWindowMac::SetVisibleOnAllWorkspaces(bool visible) {
|
||||
void NativeWindowMac::SetVisibleOnAllWorkspaces(bool visible,
|
||||
bool visibleOnFullScreen) {
|
||||
SetCollectionBehavior(visible, NSWindowCollectionBehaviorCanJoinAllSpaces);
|
||||
SetCollectionBehavior(visibleOnFullScreen,
|
||||
NSWindowCollectionBehaviorFullScreenAuxiliary);
|
||||
}
|
||||
|
||||
bool NativeWindowMac::IsVisibleOnAllWorkspaces() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue