From 67361ad7070db7e725cf750ab40b1ffdba09b83b Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Sat, 21 Feb 2026 04:59:45 +0000 Subject: [PATCH] Fix certain title bar elements not being interactive on Windows (#49781) (cherry-pick to preview) (#49782) Cherry-pick of #49781 to preview ---- https://github.com/zed-industries/zed/pull/48330 caused the title bar to start eating input events below these controls. We should find a way to make the title bar handling less busted, but this will do for now. Before you mark this PR as ready for review, make sure that you have: - [X] Added a solid test coverage and/or screenshots from doing manual testing - [X] Done a self-review taking into account security and performance aspects Release Notes: - N/A Co-authored-by: John Tur --- crates/title_bar/src/collab.rs | 1 + crates/title_bar/src/onboarding_banner.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/title_bar/src/collab.rs b/crates/title_bar/src/collab.rs index 8a2d23dd26f81da469fe229eeed586ea8fe49189..c5071d1fff466a4352781be88d728fafe4f4ce78 100644 --- a/crates/title_bar/src/collab.rs +++ b/crates/title_bar/src/collab.rs @@ -143,6 +143,7 @@ impl TitleBar { h_flex() .id("collaborator-list") + .occlude() .w_full() .gap_1() .overflow_x_scroll() diff --git a/crates/title_bar/src/onboarding_banner.rs b/crates/title_bar/src/onboarding_banner.rs index 750ef0a6cdc56d1e9ea87ab12807584a4e0e4bd2..ac3e80e179babc8ae9ee1c86c93c11f57cedb9b7 100644 --- a/crates/title_bar/src/onboarding_banner.rs +++ b/crates/title_bar/src/onboarding_banner.rs @@ -120,6 +120,7 @@ impl Render for OnboardingBanner { .rounded_sm() .border_1() .border_color(border_color) + .occlude() .child( ButtonLike::new("try-a-feature") .child(