diff options
author | Miguel Borges de Freitas <92enen@gmail.com> | 2022-12-08 11:20:42 +0000 |
---|---|---|
committer | Miguel Borges de Freitas <92enen@gmail.com> | 2022-12-08 11:20:42 +0000 |
commit | 5922d99deaee85c44bfc0ae828a5d20dda96a034 (patch) | |
tree | 0dbfe7e811ec9223d3477aa263b99977eae0337c | |
parent | 7cc3d3cb9555848c59a325e6113b3de5ddb209ea (diff) |
[macos] Avoid toggling fullscreen twice on startup
-rw-r--r-- | xbmc/windowing/osx/WinSystemOSX.mm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xbmc/windowing/osx/WinSystemOSX.mm b/xbmc/windowing/osx/WinSystemOSX.mm index 7faab49079..498f97bd52 100644 --- a/xbmc/windowing/osx/WinSystemOSX.mm +++ b/xbmc/windowing/osx/WinSystemOSX.mm @@ -694,14 +694,6 @@ bool CWinSystemOSX::CreateNewWindow(const std::string& name, bool fullScreen, RE [NSAnimationContext endGrouping]; - if (fullScreen) - { - m_fullscreenWillToggle = true; - [appWindow performSelectorOnMainThread:@selector(toggleFullScreen:) - withObject:nil - waitUntilDone:YES]; - } - // get screen refreshrate - this is needed // when we startup in windowed mode and don't run through SetFullScreen int dummy; |