diff options
Diffstat (limited to 'editors/zed/files/patch-crates_gpui_src_platform.rs')
| -rw-r--r-- | editors/zed/files/patch-crates_gpui_src_platform.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/zed/files/patch-crates_gpui_src_platform.rs b/editors/zed/files/patch-crates_gpui_src_platform.rs new file mode 100644 index 000000000000..9b4cc0975678 --- /dev/null +++ b/editors/zed/files/patch-crates_gpui_src_platform.rs @@ -0,0 +1,20 @@ +--- crates/gpui/src/platform.rs.orig 2025-11-15 04:46:05 UTC ++++ crates/gpui/src/platform.rs +@@ -82,7 +82,7 @@ pub(crate) use windows::*; + #[cfg(target_os = "windows")] + pub(crate) use windows::*; + +-#[cfg(all(target_os = "linux", feature = "wayland"))] ++#[cfg(all(any(target_os = "linux", target_os = "freebsd"), feature = "wayland"))] + pub use linux::layer_shell; + + #[cfg(any(test, feature = "test-support"))] +@@ -1320,7 +1320,7 @@ pub enum WindowKind { + + /// A Wayland LayerShell window, used to draw overlays or backgrounds for applications such as + /// docks, notifications or wallpapers. +- #[cfg(all(target_os = "linux", feature = "wayland"))] ++ #[cfg(all(any(target_os = "linux", target_os = "freebsd"), feature = "wayland"))] + LayerShell(layer_shell::LayerShellOptions), + } + |
