UI: Remove macOS-Default Full Screen Menu Item

macOS looks if the NSUserDefault NSFullScreenMenuItemEverywhere is set
to true, and if it is, it adds its own full screen menu item.
Sets this NSUserDefault to false since it defaults to true.
This commit is contained in:
gxalpha 2021-05-28 20:23:53 +02:00 • committed by Jim
commit cf445be44c
3 changed files with 12 additions and 0 deletions

View file

@ -2674,6 +2674,10 @@ int main(int argc, char *argv[])
}
#endif
#ifdef __APPLE__
DisableFullScreenViewMenuItem();
#endif
#ifdef _WIN32
obs_init_win32_crash_handler();
SetErrorMode(SEM_FAILCRITICALERRORS);