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.
This commit is contained in:
crs 2004-12-29 17:06:49 +00:00
parent f0a5d3162e
commit fedd2224e8
1 changed files with 7 additions and 9 deletions

View File

@ -174,10 +174,9 @@ COSXScreen::getCursorPos(SInt32& x, SInt32& y) const
} }
void void
COSXScreen::reconfigure(UInt32 activeSides) COSXScreen::reconfigure(UInt32)
{ {
// FIXME // do nothing
(void)activeSides;
} }
void void
@ -198,7 +197,6 @@ COSXScreen::warpCursor(SInt32 x, SInt32 y)
SInt32 SInt32
COSXScreen::getJumpZoneSize() const COSXScreen::getJumpZoneSize() const
{ {
// FIXME -- is this correct?
return 1; return 1;
} }
@ -355,7 +353,7 @@ COSXScreen::enable()
// hide cursor // hide cursor
if (!m_cursorHidden) { if (!m_cursorHidden) {
CGDisplayHideCursor(m_displayID); // CGDisplayHideCursor(m_displayID);
m_cursorHidden = true; m_cursorHidden = true;
} }
@ -377,7 +375,7 @@ COSXScreen::disable()
else { else {
// show cursor // show cursor
if (m_cursorHidden) { if (m_cursorHidden) {
CGDisplayShowCursor(m_displayID); // CGDisplayShowCursor(m_displayID);
m_cursorHidden = false; m_cursorHidden = false;
} }
@ -404,7 +402,7 @@ COSXScreen::enter()
else { else {
// show cursor // show cursor
if (m_cursorHidden) { if (m_cursorHidden) {
CGDisplayShowCursor(m_displayID); // CGDisplayShowCursor(m_displayID);
m_cursorHidden = false; m_cursorHidden = false;
} }
@ -446,7 +444,7 @@ COSXScreen::leave()
else { else {
// hide cursor // hide cursor
if (!m_cursorHidden) { if (!m_cursorHidden) {
CGDisplayHideCursor(m_displayID); // CGDisplayHideCursor(m_displayID);
m_cursorHidden = true; m_cursorHidden = true;
} }