opnsense-ports/devel/electron22/files/patch-remoting_host_me2me__desktop__environment.cc
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

20 lines
881 B
C++

--- remoting/host/me2me_desktop_environment.cc.orig 2022-11-30 08:12:58 UTC
+++ remoting/host/me2me_desktop_environment.cc
@@ -124,7 +124,7 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
capabilities += protocol::kRemoteWebAuthnCapability;
}
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
capabilities += " ";
capabilities += protocol::kMultiStreamCapability;
@@ -183,7 +183,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