aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_host__power__save__blocker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_host__power__save__blocker.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_host__power__save__blocker.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-remoting_host_host__power__save__blocker.cc b/www/chromium/files/patch-remoting_host_host__power__save__blocker.cc
new file mode 100644
index 000000000000..b10d9670f7fd
--- /dev/null
+++ b/www/chromium/files/patch-remoting_host_host__power__save__blocker.cc
@@ -0,0 +1,11 @@
+--- remoting/host/host_power_save_blocker.cc.orig 2025-10-30 15:44:36 UTC
++++ remoting/host/host_power_save_blocker.cc
+@@ -29,7 +29,7 @@ HostPowerSaveBlocker::~HostPowerSaveBlocker() {
+
+ void HostPowerSaveBlocker::OnClientConnected(const std::string& jid) {
+ // TODO(447203893): Re-enable this on Linux once the bug is fixed.
+-#if !BUILDFLAG(IS_LINUX)
++#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
+ blocker_ = std::make_unique<device::PowerSaveBlocker>(
+ device::mojom::WakeLockType::kPreventDisplaySleep,
+ device::mojom::WakeLockReason::kOther, "Remoting session is active",