From fedd2224e8e52a02ab5caea7d0d8f30902d1319a Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 29 Dec 2004 17:06:49 +0000 Subject: [PATCH] Removed calls to show/hide mouse because they only work if we've taken exclusive access to the display and we don't do that. --- lib/platform/COSXScreen.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/platform/COSXScreen.cpp b/lib/platform/COSXScreen.cpp index e9f2bda4..8ce872f1 100644 --- a/lib/platform/COSXScreen.cpp +++ b/lib/platform/COSXScreen.cpp @@ -174,10 +174,9 @@ COSXScreen::getCursorPos(SInt32& x, SInt32& y) const } void -COSXScreen::reconfigure(UInt32 activeSides) +COSXScreen::reconfigure(UInt32) { - // FIXME - (void)activeSides; + // do nothing } void @@ -198,7 +197,6 @@ COSXScreen::warpCursor(SInt32 x, SInt32 y) SInt32 COSXScreen::getJumpZoneSize() const { - // FIXME -- is this correct? return 1; } @@ -355,7 +353,7 @@ COSXScreen::enable() // hide cursor if (!m_cursorHidden) { - CGDisplayHideCursor(m_displayID); +// CGDisplayHideCursor(m_displayID); m_cursorHidden = true; } @@ -377,7 +375,7 @@ COSXScreen::disable() else { // show cursor if (m_cursorHidden) { - CGDisplayShowCursor(m_displayID); +// CGDisplayShowCursor(m_displayID); m_cursorHidden = false; } @@ -404,7 +402,7 @@ COSXScreen::enter() else { // show cursor if (m_cursorHidden) { - CGDisplayShowCursor(m_displayID); +// CGDisplayShowCursor(m_displayID); m_cursorHidden = false; } @@ -446,7 +444,7 @@ COSXScreen::leave() else { // hide cursor if (!m_cursorHidden) { - CGDisplayHideCursor(m_displayID); +// CGDisplayHideCursor(m_displayID); m_cursorHidden = true; } @@ -576,7 +574,7 @@ COSXScreen::handleSystemEvent(const CEvent& event, void*) assert(carbonEvent != NULL); UInt32 eventClass = GetEventClass(*carbonEvent); - + switch (eventClass) { case kEventClassMouse: switch (GetEventKind(*carbonEvent)) {