blob: c9f71c7515ca20db31673a5ce097e06bae6dfc76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- winit/src/program.rs.orig 2025-09-19 07:04:16 UTC
+++ winit/src/program.rs
@@ -773,7 +773,7 @@ async fn run_instance<'a, P, C>(
let mut platform_specific_handler =
crate::platform_specific::PlatformSpecific::default();
- #[cfg(all(feature = "wayland", target_os = "linux"))]
+ #[cfg(all(feature = "wayland", any(target_os = "linux", target_os = "freebsd")))]
if is_wayland {
platform_specific_handler = platform_specific_handler.with_wayland(
control_sender.clone(),
|