feat: allow windows to be excluded from the windows menu (#17404)
* feat: allow windows to be excluded from the windows menu * excludedfromWindowsMenu => excludedFromShownWindowsMenu * implement no-op for win & linux
This commit is contained in:
parent
ec5e0ef06e
commit
4e57a732a8
8 changed files with 57 additions and 0 deletions
|
@ -886,6 +886,16 @@ void NativeWindowMac::FlashFrame(bool flash) {
|
|||
|
||||
void NativeWindowMac::SetSkipTaskbar(bool skip) {}
|
||||
|
||||
bool NativeWindowMac::IsExcludedFromShownWindowsMenu() {
|
||||
NSWindow* window = GetNativeWindow().GetNativeNSWindow();
|
||||
return [window isExcludedFromWindowsMenu];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetExcludedFromShownWindowsMenu(bool excluded) {
|
||||
NSWindow* window = GetNativeWindow().GetNativeNSWindow();
|
||||
[window setExcludedFromWindowsMenu:excluded];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetSimpleFullScreen(bool simple_fullscreen) {
|
||||
NSWindow* window = GetNativeWindow().GetNativeNSWindow();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue