aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_it2me_it2me__host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_it2me_it2me__host.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_it2me_it2me__host.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/chromium/files/patch-remoting_host_it2me_it2me__host.cc b/www/chromium/files/patch-remoting_host_it2me_it2me__host.cc
new file mode 100644
index 000000000000..1ddcce257a03
--- /dev/null
+++ b/www/chromium/files/patch-remoting_host_it2me_it2me__host.cc
@@ -0,0 +1,29 @@
+--- remoting/host/it2me/it2me_host.cc.orig 2023-03-09 06:31:50 UTC
++++ remoting/host/it2me/it2me_host.cc
+@@ -43,7 +43,7 @@
+ #include "remoting/signaling/signaling_id_util.h"
+ #include "services/network/public/cpp/shared_url_loader_factory.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "remoting/host/linux/wayland_manager.h"
+ #include "remoting/host/linux/wayland_utils.h"
+ #endif // BUILDFLAG(IS_LINUX)
+@@ -144,7 +144,7 @@ void It2MeHost::Connect(
+
+ OnPolicyUpdate(std::move(policies));
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (IsRunningWayland()) {
+ WaylandManager::Get()->Init(host_context_->ui_task_runner());
+ }
+@@ -283,7 +283,7 @@ void It2MeHost::ConnectOnNetworkThread(
+
+ // Set up the desktop environment options.
+ DesktopEnvironmentOptions options(DesktopEnvironmentOptions::CreateDefault());
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (IsRunningWayland()) {
+ options.desktop_capture_options()->set_prefer_cursor_embedded(true);
+ }