mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49: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) {
|
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…
x
Reference in New Issue
Block a user