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/
30 lines
1010 B
C++
30 lines
1010 B
C++
--- remoting/host/it2me/it2me_host.cc.orig 2025-01-27 17:37:37 UTC
|
|
+++ remoting/host/it2me/it2me_host.cc
|
|
@@ -58,7 +58,7 @@
|
|
#include "remoting/host/chromeos/features.h"
|
|
#endif
|
|
|
|
-#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)
|
|
@@ -191,7 +191,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());
|
|
}
|
|
@@ -325,7 +325,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);
|
|
}
|