ports/devel/electron22/files/patch-remoting_host_me2me__desktop__environment.cc
Mikael Urankar 6a6b89a12f devel/electron22: add new port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2023-01-27 17:12:19 +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