summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-11-13 00:11:53 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-13 16:27:36 +0300
commit38257221d090a8c2669d34a23891e7b66153df6f (patch)
tree113a169c33f240536f1e03d9e92ffece19fdd87c /indra/llwindow/llwindowmacosx.h
parent46b4ea4d6d256fb644369d8701cc80944be44800 (diff)
viewer#3018 Expose mouse wrap in UI
And attempt some basic automation
Diffstat (limited to 'indra/llwindow/llwindowmacosx.h')
-rw-r--r--indra/llwindow/llwindowmacosx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.h b/indra/llwindow/llwindowmacosx.h
index 110c5756d0..d703a84d02 100644
--- a/indra/llwindow/llwindowmacosx.h
+++ b/indra/llwindow/llwindowmacosx.h
@@ -63,6 +63,7 @@ public:
bool switchContext(bool fullscreen, const LLCoordScreen &size, bool enable_vsync, const LLCoordScreen * const posp = NULL) override;
bool setCursorPosition(LLCoordWindow position) override;
bool getCursorPosition(LLCoordWindow *position) override;
+ bool isWrapMouse() const override { return !mCursorDecoupled; };
void showCursor() override;
void hideCursor() override;
void showCursorFromMouseMove() override;