summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.h
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2021-12-09 14:01:41 -0600
committerRunitai Linden <davep@lindenlab.com>2021-12-09 14:01:41 -0600
commit9689e606f4da78dd5654124b3e90913b4e934b1a (patch)
tree234ff6c7a50e1e5dade214cfb1304d7557863379 /indra/llwindow/llwindowwin32.h
parent1a6ef9a1fbecadaff00b733c51fd6b980905f102 (diff)
SL-16480 Fix for window not saving its position on exit.
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r--indra/llwindow/llwindowwin32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h
index b02815e990..9367f49510 100644
--- a/indra/llwindow/llwindowwin32.h
+++ b/indra/llwindow/llwindowwin32.h
@@ -237,6 +237,11 @@ protected:
BOOL mMouseVanish;
+ // Cached values of GetWindowRect and GetClientRect to be used by app thread
+ void updateWindowRect();
+ RECT mRect;
+ RECT mClientRect;
+
struct LLWindowWin32Thread;
LLWindowWin32Thread* mWindowThread = nullptr;
LLThreadSafeQueue<std::function<void()>> mFunctionQueue;