Revert "UI: Remove macOS-Default Full Screen Menu Item"
This reverts commit cf445be44c
.
Did not mean to merge this. #4768
master
parent
cf445be44c
commit
7fffca945e
|
@ -2674,10 +2674,6 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
DisableFullScreenViewMenuItem();
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
obs_init_win32_crash_handler();
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
|
|
|
@ -235,13 +235,6 @@ void EnableOSXDockIcon(bool enable)
|
|||
NSApplicationActivationPolicyProhibited];
|
||||
}
|
||||
|
||||
void DisableFullScreenViewMenuItem()
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults]
|
||||
setBool:NO
|
||||
forKey:@"NSFullScreenMenuItemEverywhere"];
|
||||
}
|
||||
|
||||
/*
|
||||
* This custom NSApplication subclass makes the app compatible with CEF. Qt
|
||||
* also has an NSApplication subclass, but it doesn't conflict thanks to Qt
|
||||
|
|
|
@ -69,7 +69,6 @@ void EnableOSXDockIcon(bool enable);
|
|||
void InstallNSApplicationSubclass();
|
||||
void disableColorSpaceConversion(QWidget *window);
|
||||
void CheckAppWithSameBundleID(bool &already_running);
|
||||
void DisableFullScreenViewMenuItem();
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
void RunningInstanceCheck(bool &already_running);
|
||||
|
|
Loading…
Reference in New Issue