aboutsummaryrefslogtreecommitdiff
path: root/devel/electron39/files/patch-remoting_host_host__power__save__blocker.cc
blob: 1bf65e53ed1cf660bcd95a4dd3c5d15fa380e701 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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",