summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llwindow')
-rwxr-xr-xindra/llwindow/llwindowmacosx.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index c6bf93507a..754306b5d2 100755
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -1459,10 +1459,9 @@ void LLWindowMacOSX::updateCursor()
if(mCurrentCursor == mNextCursor)
{
- if(mCursorHidden && isCGCursorVisible())
+ if(mCursorHidden && mHideCursorPermanent && isCGCursorVisible())
{
- hideNSCursor();
- mHideCursorPermanent = TRUE;
+ hideNSCursor();
adjustCursorDecouple();
}
return;