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) {
|
if (!bFullscreen) {
|
||||||
CGRestorePermanentDisplayConfiguration();
|
CGRestorePermanentDisplayConfiguration();
|
||||||
CGDisplayRelease(CGMainDisplayID());
|
CGDisplayRelease(CGMainDisplayID());
|
||||||
|
CGDisplayShowCursor(CGMainDisplayID());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGDisplayHideCursor(CGMainDisplayID());
|
||||||
CFArrayRef modes = CGDisplayAvailableModes(CGMainDisplayID());
|
CFArrayRef modes = CGDisplayAvailableModes(CGMainDisplayID());
|
||||||
for (CFIndex i = 0; i < CFArrayGetCount(modes); i++)
|
for (CFIndex i = 0; i < CFArrayGetCount(modes); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue