opnsense-ports/devel/electron32/files/patch-remoting_host_client__session.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
434 B
C++

--- remoting/host/client_session.cc.orig 2024-06-18 21:43:37 UTC
+++ remoting/host/client_session.cc
@@ -157,7 +157,7 @@ void ClientSession::NotifyClientResolution(
if (desktop_environment_options_.enable_curtaining()) {
dpi_vector.set(resolution.x_dpi(), resolution.y_dpi());
}
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
dpi_vector.set(resolution.x_dpi(), resolution.y_dpi());
#endif