File 0001-disable-x11-everywhere.patch of Package zed

--- a/crates/component_preview/Cargo.toml
+++ b/crates/component_preview/Cargo.toml
@@ -37,7 +37,7 @@ assets.workspace = true
 editor.workspace = true
 env_logger.workspace = true
 fs.workspace = true
-gpui_platform = { workspace = true, features = ["screen-capture", "font-kit", "wayland", "x11"] }
+gpui_platform = { workspace = true, features = ["screen-capture", "font-kit", "wayland"] }
 node_runtime.workspace = true
 release_channel.workspace = true
 reqwest_client.workspace = true
--- a/crates/gpui/Cargo.toml
+++ b/crates/gpui/Cargo.toml
@@ -18,13 +18,12 @@ autobenches = false
 workspace = true
 
 [features]
-default = ["font-kit", "wayland", "x11", "windows-manifest"]
+default = ["font-kit", "wayland", "windows-manifest"]
 test-support = [
     "bench_metrics?/test-support",
     "collections/test-support",
     "http_client/test-support",
     "wayland",
-    "x11",
     "proptest",
     "dep:futures-concurrency",
     "dep:postage",
@@ -158,7 +157,7 @@ objc2 = { workspace = true, optional = true }
 objc2-metal = { version = "0.3", optional = true }
 
 [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies]
-scap = { workspace = true, optional = true }
+scap = { workspace = true, optional = true, features = ["wayland"] }
 
 [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
 libc.workspace = true
@@ -179,7 +178,7 @@ env_logger.workspace = true
 futures-concurrency.workspace = true
 postage = { workspace = true, features = ["blocking"] }
 web-time.workspace = true
-gpui_platform = { workspace = true, features = ["font-kit", "wayland", "x11"] }
+gpui_platform = { workspace = true, features = ["font-kit", "wayland"] }
 gpui_util.workspace = true
 lyon = { version = "1.0", features = ["extra"] }
 rand = { workspace = true, default-features = true }
--- a/crates/gpui_linux/Cargo.toml
+++ b/crates/gpui_linux/Cargo.toml
@@ -13,7 +13,7 @@ path = "src/gpui_linux.rs"
 doctest = false
 
 [features]
-default = ["wayland", "x11"]
+default = ["wayland"]
 test-support = ["gpui/test-support"]
 wayland = [
     "dep:accesskit_unix",
--- a/crates/livekit_client/Cargo.toml
+++ b/crates/livekit_client/Cargo.toml
@@ -26,7 +26,7 @@ audio.workspace = true
 collections.workspace = true
 cpal.workspace = true
 futures.workspace = true
-gpui = { workspace = true, features = ["screen-capture", "x11", "wayland"] }
+gpui = { workspace = true, features = ["screen-capture", "wayland"] }
 gpui_tokio.workspace = true
 http_client_tls.workspace = true
 image.workspace = true
--- a/crates/markdown/Cargo.toml
+++ b/crates/markdown/Cargo.toml
@@ -44,7 +44,7 @@ assets.workspace = true
 env_logger.workspace = true
 fs = {workspace = true, features = ["test-support"]}
 gpui = { workspace = true, features = ["test-support"] }
-gpui_platform = { workspace = true, features = ["wayland", "x11"] }
+gpui_platform = { workspace = true, features = ["wayland"] }
 image.workspace = true
 indoc.workspace = true
 language = { workspace = true, features = ["test-support"] }
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -126,7 +126,6 @@ gpui_platform = { workspace = true, features = [
     "screen-capture",
     "font-kit",
     "wayland",
-    "x11",
 ] }
 gpui_tokio.workspace = true
 hang_telemetry.workspace = true
@@ -248,7 +247,7 @@ gpui = { workspace = true, features = ["profiler", "windows-manifest"] }
 windows_resources.workspace = true
 
 [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
-gpui = { workspace = true, features = ["profiler", "wayland", "x11"] }
+gpui = { workspace = true, features = ["profiler", "wayland"] }
 ashpd = { workspace = true, features = ["notification"] }
 image.workspace = true