From c5033e85945cb2472f4bc897135c9157832525b2 Mon Sep 17 00:00:00 2001 From: Braden Date: Mon, 18 Mar 2013 17:45:08 -0500 Subject: [PATCH] Hide cursor in fullscreen mode on OSX fixes issue 3956 --- Source/Core/DolphinWX/Src/FrameTools.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index e9c6dd2cd2..d41fe96a14 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -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++) {