summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2022-02-08 15:37:56 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2022-02-08 15:37:56 +0200
commit1e36ef21132793b451d904de07a30c4f74a918f3 (patch)
tree14ada97c0bbc78c4edbc76b303b5e0e5abe4f458 /indra/llwindow/llwindowmacosx.cpp
parent93805cfbc12c247ceb1f422fb0b97310542d78d9 (diff)
SL-16757 FIXED [Mac] third-person cursor doesn't return after switching away from app and back
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index dfdfe4aa33..aee189431f 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -1672,7 +1672,7 @@ void LLWindowMacOSX::hideCursor()
void LLWindowMacOSX::showCursor()
{
- if(mCursorHidden)
+ if(mCursorHidden || !isCGCursorVisible())
{
// LL_INFOS() << "showCursor: showing" << LL_ENDL;
mCursorHidden = FALSE;