Show the cursor in os x fullscreen by default. Fixes issue 8376.

This commit is contained in:
dibas 2015-04-28 22:12:39 +02:00
parent 79dff19aa0
commit 441976e09b
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
} }