Show the cursor in os x fullscreen by default. Fixes issue 8376.
This commit is contained in:
parent
79dff19aa0
commit
441976e09b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue