Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide cursor in fullscreen mode on OSX fixes issue 3956
  • Loading branch information
bzb95 committed Mar 18, 2013
1 parent a2af649 commit c5033e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinWX/Src/FrameTools.cpp
Expand Up @@ -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++)
{
Expand Down

0 comments on commit c5033e8

Please sign in to comment.