mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 19:13:27 -04:00
This update also removes the --audio-backend command line switch in favor of an actual setting in the browser that can be changed at chrome://flags/#audio-backend Security: https://vuxml.freebsd.org/freebsd/15d398ea-4f73-11ef-8a0f-a8a1599412c6.html
38 lines
1.7 KiB
C++
38 lines
1.7 KiB
C++
--- remoting/host/me2me_desktop_environment.cc.orig 2024-07-30 11:12:21 UTC
|
|
+++ remoting/host/me2me_desktop_environment.cc
|
|
@@ -119,7 +119,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
|
|
capabilities += protocol::kRemoteWebAuthnCapability;
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_LINUX) && defined(REMOTING_USE_X11)
|
|
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(REMOTING_USE_X11)
|
|
if (!IsRunningWayland()) {
|
|
capabilities += " ";
|
|
capabilities += protocol::kMultiStreamCapability;
|
|
@@ -161,7 +161,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
|
|
// properly under Xvfb.
|
|
mutable_desktop_capture_options()->set_use_update_notifications(true);
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
// Setting this option to false means that the capture differ wrapper will not
|
|
// be used when the X11 capturer is selected. This reduces the X11 capture
|
|
// time by a few milliseconds per frame and is safe because we can rely on
|
|
@@ -170,7 +170,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
|
|
mutable_desktop_capture_options()->set_detect_updated_region(false);
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
if (IsRunningWayland()) {
|
|
mutable_desktop_capture_options()->set_prefer_cursor_embedded(false);
|
|
}
|
|
@@ -195,7 +195,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
|
|
|
|
// Otherwise, if the session is shared with the local user start monitoring
|
|
// the local input and create the in-session UI.
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
bool want_user_interface = false;
|
|
#elif BUILDFLAG(IS_APPLE)
|
|
// Don't try to display any UI on top of the system's login screen as this
|