aboutsummaryrefslogtreecommitdiff
path: root/x11/ashell/files/iced/patch-winit_src_program.rs
diff options
context:
space:
mode:
Diffstat (limited to 'x11/ashell/files/iced/patch-winit_src_program.rs')
-rw-r--r--x11/ashell/files/iced/patch-winit_src_program.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/ashell/files/iced/patch-winit_src_program.rs b/x11/ashell/files/iced/patch-winit_src_program.rs
new file mode 100644
index 000000000000..c9f71c7515ca
--- /dev/null
+++ b/x11/ashell/files/iced/patch-winit_src_program.rs
@@ -0,0 +1,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(),