diff options
Diffstat (limited to 'devel/electron23/files/patch-remoting_host_me2me__desktop__environment.cc')
-rw-r--r-- | devel/electron23/files/patch-remoting_host_me2me__desktop__environment.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-remoting_host_me2me__desktop__environment.cc b/devel/electron23/files/patch-remoting_host_me2me__desktop__environment.cc new file mode 100644 index 000000000000..9a7c7c914760 --- /dev/null +++ b/devel/electron23/files/patch-remoting_host_me2me__desktop__environment.cc @@ -0,0 +1,29 @@ +--- remoting/host/me2me_desktop_environment.cc.orig 2023-02-01 18:43:24 UTC ++++ remoting/host/me2me_desktop_environment.cc +@@ -124,7 +124,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) + 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 +@@ -193,7 +193,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 |