From 1832026b5896968bac100e67235ad242a40f2157 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com>
Date: Sat, 30 May 2026 01:35:57 +0300
Subject: #5856 An option to prevent hibernation
---
indra/newview/app_settings/settings.xml | 11 +
indra/newview/llagent.cpp | 9 +
indra/newview/llappviewer.cpp | 48 +++-
indra/newview/llappviewer.h | 15 +-
indra/newview/llappviewerlinux.cpp | 302 +++++++++++++++++++++
indra/newview/llappviewerlinux.h | 10 +
indra/newview/llappviewermacosx-objc.h | 1 +
indra/newview/llappviewermacosx-objc.mm | 66 +++++
indra/newview/llappviewermacosx.cpp | 7 +
indra/newview/llappviewermacosx.h | 1 +
indra/newview/llappviewerwin32.cpp | 50 ++++
indra/newview/llappviewerwin32.h | 1 +
indra/newview/llviewerwindow.cpp | 30 +-
.../default/xui/en/panel_preferences_setup.xml | 36 +++
14 files changed, 578 insertions(+), 9 deletions(-)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 8086afb865..b1e161182e 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -14429,6 +14429,17 @@
Value
180
+ OSHibernationMode
+
HeightUnits