aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-remoting_host_basic__desktop__environment.cc
blob: 1e523e538c580e593890def5731df3f47a4b2a4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- remoting/host/basic_desktop_environment.cc.orig	2025-03-24 20:50:14 UTC
+++ remoting/host/basic_desktop_environment.cc
@@ -195,7 +195,7 @@ std::unique_ptr<DesktopCapturer> BasicDesktopEnvironme
   scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner;
 #if BUILDFLAG(IS_CHROMEOS)
   capture_task_runner = ui_task_runner_;
-#elif BUILDFLAG(IS_LINUX) && defined(REMOTING_USE_WAYLAND)
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(REMOTING_USE_WAYLAND)
   // Each capturer instance should get its own thread so the capturers don't
   // compete with each other in multistream mode.
   capture_task_runner = base::ThreadPool::CreateSingleThreadTaskRunner(