aboutsummaryrefslogtreecommitdiff
path: root/devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc')
-rw-r--r--devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc b/devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc
new file mode 100644
index 000000000000..1bf65e53ed1c
--- /dev/null
+++ b/devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc
@@ -0,0 +1,11 @@
+--- remoting/host/host_power_save_blocker.cc.orig 2025-10-21 20:19:54 UTC
++++ remoting/host/host_power_save_blocker.cc
+@@ -29,7 +29,7 @@ void HostPowerSaveBlocker::OnClientConnected(const std
+
+ 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",