mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
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…
x
Reference in New Issue
Block a user