Hide cursor in fullscreen mode on OSX fixes issue 3956
This commit is contained in:
parent
a2af6494cf
commit
c5033e8594
|
@ -808,9 +808,11 @@ void CFrame::ToggleDisplayMode(bool bFullscreen)
|
|||
if (!bFullscreen) {
|
||||
CGRestorePermanentDisplayConfiguration();
|
||||
CGDisplayRelease(CGMainDisplayID());
|
||||
CGDisplayShowCursor(CGMainDisplayID());
|
||||
return;
|
||||
}
|
||||
|
||||
CGDisplayHideCursor(CGMainDisplayID());
|
||||
CFArrayRef modes = CGDisplayAvailableModes(CGMainDisplayID());
|
||||
for (CFIndex i = 0; i < CFArrayGetCount(modes); i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue