--- remoting/host/peer_session_impl.cc.orig 2026-10-18 13:29:39 UTC +++ remoting/host/peer_session_impl.cc @@ -155,7 +155,7 @@ PeerSessionImpl::PeerSessionImpl( // LocalMouseInputMonitorMac filter out an echo of the injected input before // it reaches `remote_input_filter_`. input_pipeline_.remote_input_filter()->SetExpectLocalEcho(false); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // LocalMouseInputMonitorX11 filters out XTest-injected input before it // reaches `remote_input_filter_`. On Wayland, PipewireLocalInputMonitor // observes global cursor positions from PipeWire and still relies on echo @@ -260,7 +260,7 @@ void PeerSessionImpl::NotifyClientResolution( if (effective_policies_.curtain_required.value_or(false)) { 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