Commit ed7043cd authored by Cinder's avatar Cinder
Browse files

ALCH-449 - Fix mouse cursor on darwin

parent cb461032
......@@ -92,7 +92,6 @@ void setCrossCursor();
void setNotAllowedCursor();
void hideNSCursor();
void showNSCursor();
bool isCGCursorVisible();
void hideNSCursorTillMove(bool hide);
void requestUserAttention();
long showAlert(std::string title, std::string text, int type);
......
......@@ -166,11 +166,6 @@ void showNSCursor()
[NSCursor unhide];
}
bool isCGCursorVisible()
{
return CGCursorIsVisible();
}
void hideNSCursorTillMove(bool hide)
{
[NSCursor setHiddenUntilMouseMoves:hide];
......
......@@ -1467,16 +1467,8 @@ void LLWindowMacOSX::updateCursor()
mNextCursor = UI_CURSOR_WORKING;
}
if(mCurrentCursor == mNextCursor)
{
if(mCursorHidden && isCGCursorVisible())
{
hideNSCursor();
mHideCursorPermanent = TRUE;
adjustCursorDecouple();
}
return;
}
if(mCurrentCursor == mNextCursor)
return;
// RN: replace multi-drag cursors with single versions
if (mNextCursor == UI_CURSOR_ARROWDRAGMULTI)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment