Merge pull request #2340 from dibas/testing

Show the cursor in os x fullscreen by default. Fixes issue 8376.
This commit is contained in:
skidau 2015-05-06 12:28:45 +10:00
commit 571cdcddd8
1 changed files with 0 additions and 5 deletions

View File

@ -960,11 +960,6 @@ void CFrame::ToggleDisplayMode(bool bFullscreen)
#elif defined(HAVE_XRANDR) && HAVE_XRANDR #elif defined(HAVE_XRANDR) && HAVE_XRANDR
if (SConfig::GetInstance().m_LocalCoreStartupParameter.strFullscreenResolution != "Auto") if (SConfig::GetInstance().m_LocalCoreStartupParameter.strFullscreenResolution != "Auto")
m_XRRConfig->ToggleDisplayMode(bFullscreen); m_XRRConfig->ToggleDisplayMode(bFullscreen);
#elif defined __APPLE__
if (bFullscreen)
CGDisplayHideCursor(CGMainDisplayID());
else
CGDisplayShowCursor(CGMainDisplayID());
#endif #endif
} }